LoggingStrategy

open class LoggingStrategy(strategyName: String, coroutineScope: CoroutineScope, mutex: Mutex, ansiColor: String)(source)

Deprecated

Use v4 instead

Replace with

mtctx.lumina.v4.strategy.LoggingStrategy

Inheritors

Constructors

Link copied to clipboard
constructor(strategyName: String, coroutineScope: CoroutineScope, mutex: Mutex, ansiColor: String)

Functions

Link copied to clipboard
open fun generateMessage(config: LoggerConfig, formattedTimestamp: String, content: Array<out Any>): String
Link copied to clipboard
open suspend fun log(config: LoggerConfig, timestamp: Instant, logToConsole: Boolean, content: Array<out Any>)
Link copied to clipboard
open suspend fun writeToFile(logFilePath: Path, message: String)