DeferredLog

open class DeferredLog : Log

Deferred Log that can be used to store messages that shouldn't be written until the logging system is fully initialized.

Author

Phillip Webb

Since

1.3.0

Constructors

Link copied to clipboard
constructor()
Create a new DeferredLog instance.

Functions

Link copied to clipboard
open fun debug(message: Any)
open fun debug(message: Any, t: Throwable)
Link copied to clipboard
open fun error(message: Any)
open fun error(message: Any, t: Throwable)
Link copied to clipboard
open fun fatal(message: Any)
open fun fatal(message: Any, t: Throwable)
Link copied to clipboard
open fun info(message: Any)
open fun info(message: Any, t: Throwable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun replay(source: Log, destination: Class<out Any>): Log
open fun replay(source: Log, destination: Log): Log
Replay from a source log to a destination log when the source is deferred.
Link copied to clipboard
open fun replayTo(destination: Class<out Any>)
open fun replayTo(destination: Log)
Replay deferred logging to the specified destination.
Link copied to clipboard
open fun switchTo(destination: Class<out Any>)
open fun switchTo(destination: Log)
Switch from deferred logging to immediate logging to the specified destination.
Link copied to clipboard
open fun trace(message: Any)
open fun trace(message: Any, t: Throwable)
Link copied to clipboard
open fun warn(message: Any)
open fun warn(message: Any, t: Throwable)