KSLog

fun KSLog(performLogCallback: SimpleKSLogCallback): CallbackKSLog(source)

Creating CallbackKSLog using performLogCallback as an argument for constructor


fun KSLog(defaultTag: String): KSLog(source)

Simple builder for DefaultKSLog logger based on defaultTag


fun KSLog(defaultTag: String, messageFormatter: MessageFormatter): KSLog(source)

Simple builder for DefaultKSLog logger based on defaultTag and messageFormatter


fun KSLog(defaultTag: String, levels: Iterable<LogLevel>, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)

Building logger using KSLog builder based on defaultTag and messageFormatter. This logger will also filter incoming levels: only levels passed in levels param will be logged


fun KSLog(defaultTag: String, firstLevel: LogLevel, secondLevel: LogLevel, vararg otherLevels: LogLevel, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)

Building logger using KSLog builder based on defaultTag and messageFormatter. This logger will also filter incoming levels: only levels passed in firstLevel, secondLevel and otherLevels param will be logged


fun KSLog(defaultTag: String, minLoggingLevel: LogLevel, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)

Building logger using KSLog builder based on defaultTag and messageFormatter. This logger will also filter incoming levels: only levels above minLoggingLevel will be logged

fun KSLog(defaultTag: String, logger: Logger, messageFormatter: MessageFormatter = defaultMessageFormatter): CallbackKSLog(source)
fun KSLog(defaultTag: String, logger: Logger, levels: Iterable<LogLevel>, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)
fun KSLog(defaultTag: String, logger: Logger, firstLevel: LogLevel, secondLevel: LogLevel, vararg otherLevels: LogLevel, messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)
fun KSLog(defaultTag: String, logger: Logger, minLoggingLevel: LogLevel = LogLevel.values().first(), messageFormatter: MessageFormatter = defaultMessageFormatter): KSLog(source)