Log
data class Log(val directory: (currentDate: String) -> Path = { currentDate -> "./logs/$currentDate/".toPath() }, val rotation: LuminaConfig.Log.RotationConfig = RotationConfig(true, 30.days, 1.days), val channelSize: Int = Channel.UNLIMITED, val channel: Channel<Message> = Channel(channelSize))(source)
Constructors
Link copied to clipboard
constructor(directory: (currentDate: String) -> Path = { currentDate -> "./logs/$currentDate/".toPath() }, rotation: LuminaConfig.Log.RotationConfig = RotationConfig(true, 30.days, 1.days), channelSize: Int = Channel.UNLIMITED, channel: Channel<Message> = Channel(channelSize))