mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2025-12-18 02:45:47 +00:00
replace DEBUG in enum of LogLevels
This commit is contained in:
@@ -49,7 +49,7 @@ fun KSJVMLog(
|
||||
defaultTag: String,
|
||||
logger: java.util.logging.Logger,
|
||||
messageFormatter: MessageFormatter = defaultMessageFormatter,
|
||||
minLoggingLevel: LogLevel = LogLevel.VERBOSE
|
||||
minLoggingLevel: LogLevel = LogLevel.values().first()
|
||||
): KSLog = KSJVMLog (defaultTag, logger, messageFormatter) { l, _, _, _ ->
|
||||
minLoggingLevel.ordinal <= l.ordinal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user