Logger

expect interface Logger

Describes the interface for loggers shared across platforms.

actual interface Logger : Logger

Describes the interface for loggers shared across platforms.

Inheritors

Functions

Link copied to clipboard
@CheckReturnValue
open fun atDebug(): LoggingEventBuilder
Link copied to clipboard
@CheckReturnValue
open fun atError(): LoggingEventBuilder
Link copied to clipboard
@CheckReturnValue
open fun atInfo(): LoggingEventBuilder
Link copied to clipboard
@CheckReturnValue
open fun atLevel(p0: Level): LoggingEventBuilder
Link copied to clipboard
@CheckReturnValue
open fun atTrace(): LoggingEventBuilder
Link copied to clipboard
@CheckReturnValue
open fun atWarn(): LoggingEventBuilder
Link copied to clipboard
expect open fun debug(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.DEBUG.

expect open fun debug(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.DEBUG, assuming debug-level logging is currently enabled.

actual open fun debug(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.DEBUG.

actual open fun debug(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.DEBUG, assuming debug-level logging is currently enabled.

abstract fun debug(p0: String)
abstract fun debug(p0: String, p1: Any)
abstract fun debug(p0: String, vararg p1: Any)
abstract fun debug(p0: String, p1: Throwable)
abstract fun debug(p0: Marker, p1: String)
abstract fun debug(p0: String, p1: Any, p2: Any)
abstract fun debug(p0: Marker, p1: String, p2: Any)
abstract fun debug(p0: Marker, p1: String, vararg p2: Any)
abstract fun debug(p0: Marker, p1: String, p2: Throwable)
abstract fun debug(p0: Marker, p1: String, p2: Any, p3: Any)
Link copied to clipboard
expect open fun error(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.ERROR.

expect open fun error(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.ERROR, assuming error-level logging is currently enabled.

actual open fun error(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.ERROR.

actual open fun error(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.ERROR, assuming error-level logging is currently enabled.

abstract fun error(p0: String)
abstract fun error(p0: String, p1: Any)
abstract fun error(p0: String, vararg p1: Any)
abstract fun error(p0: String, p1: Throwable)
abstract fun error(p0: Marker, p1: String)
abstract fun error(p0: String, p1: Any, p2: Any)
abstract fun error(p0: Marker, p1: String, p2: Any)
abstract fun error(p0: Marker, p1: String, vararg p2: Any)
abstract fun error(p0: Marker, p1: String, p2: Throwable)
abstract fun error(p0: Marker, p1: String, p2: Any, p3: Any)
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
expect open fun info(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.INFO.

expect open fun info(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.INFO, assuming info-level logging is currently enabled.

actual open fun info(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.INFO.

actual open fun info(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.INFO, assuming info-level logging is currently enabled.

abstract fun info(p0: String)
abstract fun info(p0: String, p1: Any)
abstract fun info(p0: String, vararg p1: Any)
abstract fun info(p0: String, p1: Throwable)
abstract fun info(p0: Marker, p1: String)
abstract fun info(p0: String, p1: Any, p2: Any)
abstract fun info(p0: Marker, p1: String, p2: Any)
abstract fun info(p0: Marker, p1: String, vararg p2: Any)
abstract fun info(p0: Marker, p1: String, p2: Throwable)
abstract fun info(p0: Marker, p1: String, p2: Any, p3: Any)
Link copied to clipboard
abstract fun isDebugEnabled(): Boolean
abstract fun isDebugEnabled(p0: Marker): Boolean
Link copied to clipboard
expect abstract fun isEnabled(level: LogLevel): Boolean

Indicate whether the provided level is enabled for the current logger.

actual abstract fun isEnabled(level: LogLevel): Boolean

Indicate whether the provided level is enabled for the current logger.

Link copied to clipboard
open fun isEnabledForLevel(p0: Level): Boolean
Link copied to clipboard
abstract fun isErrorEnabled(): Boolean
abstract fun isErrorEnabled(p0: Marker): Boolean
Link copied to clipboard
abstract fun isInfoEnabled(): Boolean
abstract fun isInfoEnabled(p0: Marker): Boolean
Link copied to clipboard
abstract fun isTraceEnabled(): Boolean
abstract fun isTraceEnabled(p0: Marker): Boolean
Link copied to clipboard
abstract fun isWarnEnabled(): Boolean
abstract fun isWarnEnabled(p0: Marker): Boolean
Link copied to clipboard
expect abstract fun log(level: LogLevel, message: List<Any>, levelChecked: Boolean = false)

Log one or more arbitrary messages to the console or log, depending on the current platform.

actual abstract fun log(level: LogLevel, message: List<Any>, levelChecked: Boolean)

Log one or more arbitrary messages to the console or log, depending on the current platform.

Link copied to clipboard
open fun makeLoggingEventBuilder(p0: Level): LoggingEventBuilder
Link copied to clipboard
expect open fun trace(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.TRACE.

expect open fun trace(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.TRACE, assuming trace-level logging is currently enabled.

actual open fun trace(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.TRACE.

actual open fun trace(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.TRACE, assuming trace-level logging is currently enabled.

abstract fun trace(p0: String)
abstract fun trace(p0: String, p1: Any)
abstract fun trace(p0: String, vararg p1: Any)
abstract fun trace(p0: String, p1: Throwable)
abstract fun trace(p0: Marker, p1: String)
abstract fun trace(p0: String, p1: Any, p2: Any)
abstract fun trace(p0: Marker, p1: String, p2: Any)
abstract fun trace(p0: Marker, p1: String, vararg p2: Any)
abstract fun trace(p0: Marker, p1: String, p2: Throwable)
abstract fun trace(p0: Marker, p1: String, p2: Any, p3: Any)
Link copied to clipboard
expect open fun warn(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.WARN.

expect open fun warn(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.WARN, assuming warn-level logging is currently enabled.

actual open fun warn(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.WARN.

actual open fun warn(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.WARN, assuming warn-level logging is currently enabled.

abstract fun warn(p0: String)
abstract fun warn(p0: String, p1: Any)
abstract fun warn(p0: String, vararg p1: Any)
abstract fun warn(p0: String, p1: Throwable)
abstract fun warn(p0: Marker, p1: String)
abstract fun warn(p0: String, p1: Any, p2: Any)
abstract fun warn(p0: Marker, p1: String, p2: Any)
abstract fun warn(p0: Marker, p1: String, vararg p2: Any)
abstract fun warn(p0: Marker, p1: String, p2: Throwable)
abstract fun warn(p0: Marker, p1: String, p2: Any, p3: Any)
Link copied to clipboard
expect open fun warning(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.WARN.

expect open fun warning(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.WARN, assuming warn-level logging is currently enabled.

actual open fun warning(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.WARN.

actual open fun warning(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.WARN, assuming warn-level logging is currently enabled.