LoggerConfig

constructor(name: String = "Lumina", logsDirectory: Path = LoggerUtils.logsDir, coroutineScope: CoroutineScope = CoroutineScope(SupervisorJob()), format: (timestamp: String, coloredStrategyName: String, loggerName: String, content: Array<String>) -> String = { timestamp, coloredStrategyName, loggerName, content -> val template = "[$timestamp] - $coloredStrategyName - $loggerName - " content.joinToString("\n") { line -> "$template${line.replace("\n", "\n$template")}" } }, logChannelSize: Int = Channel.UNLIMITED, logChannel: Channel<LogMessage> = Channel(logChannelSize), logRotation: LoggerDSL.LogRotation.Config = LoggerDSL.LogRotation.Config(true, 30.days, 1.days))(source)