Package dev. inmo. kslog. common
Types
Link copied to clipboard
Link copied to clipboard
class DefaultKSLog( defaultTag: String, val filter: MessageFilter = { _, _, _ -> true }, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: String, throwable: Throwable?) -> Unit = defaultLogging) : KSLog
Content copied to clipboard
Link copied to clipboard
typealias MessageFilter = (l: LogLevel, t: String?, Throwable?) -> Boolean
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun KSLog( defaultTag: String, minLoggingLevel: LogLevel, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
fun KSLog( defaultTag: String, filter: MessageFilter = { _, _, _ -> true }, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
fun KSLog( defaultTag: String, logger: Logger, minLoggingLevel: LogLevel = LogLevel.values().first(), messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
fun KSLog( defaultTag: String, logger: Logger, filter: MessageFilter = { _, _, _ -> true }, messageFormatter: MessageFormatter = defaultMessageFormatter): CallbackKSLog
Content copied to clipboard
Link copied to clipboard
inline fun KSLog.l( level: LogLevel, message: String, e: Throwable? = null)
Content copied to clipboard
inline fun KSLog.l( level: LogLevel, e: Throwable? = null, noinline messageBuilder: () -> String)
Content copied to clipboard
Link copied to clipboard
inline fun KSLog.log( level: LogLevel, message: String, e: Throwable? = null)
Content copied to clipboard
inline fun KSLog.log( level: LogLevel, e: Throwable? = null, noinline messageBuilder: () -> String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard