Logger

interface Logger : Logger(source)

An extension to the SLF4J Logger interface, which adds the quiet and lifecycle log levels.

You can obtain a Logger instance using getLogger or getLogger. A Logger instance is also available through getLogger, getLogger and getLogger.

CAUTION! Logging sensitive information (credentials, tokens, certain environment variables) above debug level is a security vulnerability. See our recommendations for more information.

Properties

Link copied to clipboard
val ROOT_LOGGER_NAME: String = "ROOT"

Functions

Link copied to clipboard
abstract fun debug(message: String, objects: Array<Any>)
Multiple-parameters friendly debug method
abstract fun debug(p: String)
Link copied to clipboard
abstract fun error(p: String)
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
abstract fun info(message: String, objects: Array<Any>)
Logs the given message at info log level.
abstract fun info(p: String)
Link copied to clipboard
abstract fun isDebugEnabled(): Boolean
Link copied to clipboard
abstract fun isEnabled(level: LogLevel): Boolean
Returns true if the given log level is enabled for this logger.
Link copied to clipboard
abstract fun isErrorEnabled(): Boolean
Link copied to clipboard
abstract fun isInfoEnabled(): Boolean
Link copied to clipboard
abstract fun isLifecycleEnabled(): Boolean
Returns true if lifecycle log level is enabled for this logger.
Link copied to clipboard
abstract fun isQuietEnabled(): Boolean
Returns true if quiet log level is enabled for this logger.
Link copied to clipboard
abstract fun isTraceEnabled(): Boolean
Link copied to clipboard
abstract fun isWarnEnabled(): Boolean
Link copied to clipboard
abstract fun lifecycle(message: String)
abstract fun lifecycle(message: String, objects: Array<Any>)
abstract fun lifecycle(message: String, throwable: Throwable)
Logs the given message at lifecycle log level.
Link copied to clipboard
abstract fun log(level: LogLevel, message: String)
abstract fun log(level: LogLevel, message: String, objects: Array<Any>)
abstract fun log(level: LogLevel, message: String, throwable: Throwable)
Logs the given message at the given log level.
Link copied to clipboard
abstract fun quiet(message: String)
abstract fun quiet(message: String, objects: Array<Any>)
abstract fun quiet(message: String, throwable: Throwable)
Logs the given message at quiet log level.
Link copied to clipboard
abstract fun trace(p: String)
Link copied to clipboard
abstract fun warn(p: String)