error

open fun error(message: () -> Any?)

Lazy add a log message if isErrorEnabled is true

Parameters

message

The message to log


open fun error(throwable: Throwable?, message: () -> Any?)

Lazy add a log message if isErrorEnabled is true

Parameters

throwable

The throwable to log

message

The message to log


open fun error(marker: Marker?, message: () -> Any?)

Lazy add a log message with a marker if isErrorEnabled is true

Parameters

marker

The marker to log

message

The message to log


open fun error(marker: Marker?, throwable: Throwable?, message: () -> Any?)

Lazy add a log message with a marker and throwable if isErrorEnabled is true

Parameters

marker

The marker to log

throwable

The throwable to log

message

The message to log