Package dev. inmo. kslog. common
Types
Link copied to clipboard
Link copied to clipboard
class DefaultKSLog( defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter, logging: (level: LogLevel, tag: String, message: Any, 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
Link copied to clipboard
Functions
Link copied to clipboard
fun KSLog(defaultTag: String, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
fun KSLog( defaultTag: String, minLoggingLevel: LogLevel, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
fun KSLog( defaultTag: String, logger: Logger, messageFormatter: MessageFormatter = defaultMessageFormatter): CallbackKSLog
Content copied to clipboard
fun KSLog( defaultTag: String, logger: Logger, minLoggingLevel: LogLevel = LogLevel.values().first(), messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog
Content copied to clipboard
Link copied to clipboard
inline fun KSLog.l( level: LogLevel, tag: String, noinline messageBuilder: () -> Any)
Content copied to clipboard
inline fun KSLog.l( level: LogLevel, e: Throwable? = null, noinline messageBuilder: () -> Any)
Content copied to clipboard
Link copied to clipboard
inline fun KSLog.log( level: LogLevel, tag: String, noinline messageBuilder: () -> Any)
Content copied to clipboard
inline fun KSLog.log( level: LogLevel, e: Throwable? = null, noinline messageBuilder: () -> Any)
Content copied to clipboard
Link copied to clipboard