KLog

abstract class KLog(val tag: String)

Constructors

Link copied to clipboard
fun KLog(tag: String)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Conf(    var level: Level,     var writer: KLogWriter,     var messageFormatter: KMessageFormatter,     val displayTagLength: Int = 12,     val displayTagFormatter: KDisplayTagFormatter? = DefaultDisplayTagFormatter)

Functions

Link copied to clipboard
inline fun debug(msg: String? = null, err: Throwable? = null)
inline fun debug(    msg: String? = null,     err: Throwable? = null,     noinline msgProvider: LogMessageFunction)
Link copied to clipboard
inline fun error(msg: String? = null, err: Throwable? = null)
inline fun error(    msg: String? = null,     err: Throwable? = null,     noinline msgProvider: LogMessageFunction)
Link copied to clipboard
inline fun info(msg: String? = null, err: Throwable? = null)
inline fun info(    msg: String? = null,     err: Throwable? = null,     noinline msgProvider: LogMessageFunction)
Link copied to clipboard
abstract fun log(    level: Level,     msg: String?,     err: Throwable?,     msgProvider: LogMessageFunction?)
Link copied to clipboard
inline fun trace(msg: String? = null, err: Throwable? = null)
inline fun trace(    msg: String? = null,     err: Throwable? = null,     noinline msgProvider: LogMessageFunction)
Link copied to clipboard
inline fun warn(msg: String? = null, err: Throwable? = null)
inline fun warn(    msg: String? = null,     err: Throwable? = null,     noinline msgProvider: LogMessageFunction)

Properties

Link copied to clipboard
abstract val conf: KLog.Conf
Link copied to clipboard
abstract val displayTag: String
Link copied to clipboard
val isDebugEnabled: Boolean
Link copied to clipboard
val isEnabled: Boolean
Link copied to clipboard
val isErrorEnabled: Boolean
Link copied to clipboard
val isInfoEnabled: Boolean
Link copied to clipboard
val isTraceEnabled: Boolean
Link copied to clipboard
val isWarnEnabled: Boolean
Link copied to clipboard
val tag: String

Inheritors

Link copied to clipboard