mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2025-09-16 13:39:26 +00:00
KSLog with varargs
This commit is contained in:
@@ -52,6 +52,13 @@ fun KSLog(
|
||||
}
|
||||
}
|
||||
|
||||
inline fun KSLog(
|
||||
defaultTag: String,
|
||||
firstLevel: LogLevel,
|
||||
secondLevel: LogLevel,
|
||||
vararg otherLevels: LogLevel
|
||||
): KSLog = KSLog(defaultTag, setOf(firstLevel, secondLevel, *otherLevels))
|
||||
|
||||
fun KSLog(
|
||||
defaultTag: String,
|
||||
minLoggingLevel: LogLevel = LogLevel.VERBOSE
|
||||
|
Reference in New Issue
Block a user