KLogger
A Logger interface with Lazy message evaluation example:
logger.info{"this is $lazy evaluated string"}
A Logger interface with Lazy message evaluation example:
logger.info{"this is $lazy evaluated string"}
Properties
Is the logger instance enabled for the DEBUG level?
Is the logger instance enabled for the DEBUG level?
Is the logger instance enabled for the ERROR level?
Is the logger instance enabled for the ERROR level?
Is the logger instance enabled for the INFO level?
Is the logger instance enabled for the INFO level?
Is the logger instance OFF?
Is the logger instance OFF?
Is the logger instance enabled for the TRACE level?
Is the logger instance enabled for the TRACE level?
Is the logger instance enabled for the WARN level?
Is the logger instance enabled for the WARN level?
The actual logger executing logging
Functions
Lazy add a log message if isDebugEnabled is true
Lazy add a log message with a marker if isDebugEnabled is true
Lazy add a log message with throwable payload if isDebugEnabled is true
Lazy add a log message with a marker and throwable payload if isDebugEnabled is true
Lazy add a log message if isDebugEnabled is true
Lazy add a log message with throwable payload if isDebugEnabled is true
Log a message at the DEBUG level.
Log a message with the specific Marker at the DEBUG level.
Log a message at the DEBUG level according to the specified msg and argument.
Log a message at the DEBUG level according to the specified msg and arguments.
Log an exception (throwable) at the DEBUG level with an accompanying message.
This method is similar to .debug method except that the marker data is also taken into consideration.
Lazy add a log message if isErrorEnabled is true
Lazy add a log message with a marker if isErrorEnabled is true
Lazy add a log message with throwable payload if isErrorEnabled is true
Lazy add a log message with a marker and throwable payload if isErrorEnabled is true
Lazy add a log message if isErrorEnabled is true
Lazy add a log message with throwable payload if isErrorEnabled is true
Log a message at the ERROR level.
Log a message with the specific Marker at the ERROR level.
Log a message at the ERROR level according to the specified msg and argument.
Log a message at the ERROR level according to the specified msg and arguments.
Log an exception (throwable) at the ERROR level with an accompanying message.
This method is similar to .error method except that the marker data is also taken into consideration.
Add log message indicating exit of a method
Add a log message with the return value of a method
Lazy add a log message if isInfoEnabled is true
Lazy add a log message with a marker if isInfoEnabled is true
Lazy add a log message with throwable payload if isInfoEnabled is true
Lazy add a log message with a marker and throwable payload if isInfoEnabled is true
Lazy add a log message if isInfoEnabled is true
Lazy add a log message with throwable payload if isInfoEnabled is true
Log a message at the INFO level.
Log a message with the specific Marker at the INFO level.
Log a message at the INFO level according to the specified msg and argument.
Log a message at the INFO level according to the specified msg and arguments.
Log an exception (throwable) at the INFO level with an accompanying message.
This method is similar to .info method except that the marker data is also taken into consideration.
Similar to .isDebugEnabled method except that the marker data is also taken into account.
Returns whether this Logger is enabled for a given Level.
Similar to .isErrorEnabled method except that the marker data is also taken into consideration.
Similar to .isInfoEnabled method except that the marker data is also taken into consideration.
Similar to .isLoggingOff method except that the marker data is also taken into consideration.
Similar to .isTraceEnabled method except that the marker data is also taken into account.
Similar to .isWarnEnabled method except that the marker data is also taken into consideration.
Lazy add a log message if isTraceEnabled is true
Lazy add a log message with a marker if isTraceEnabled is true
Lazy add a log message with throwable payload if isTraceEnabled is true
Lazy add a log message with a marker and throwable payload if isTraceEnabled is true
Lazy add a log message if isTraceEnabled is true
Lazy add a log message with throwable payload if isTraceEnabled is true
Log a message at the TRACE level.
Log a message with the specific Marker at the TRACE level.
Log a message at the TRACE level according to the specified msg and argument.
Log a message at the TRACE level according to the specified msg and arguments.
Log an exception (throwable) at the TRACE level with an accompanying message.
This method is similar to .trace method except that the marker data is also taken into consideration.
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with a marker if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Lazy add a log message with a marker and throwable payload if isWarnEnabled is true
Lazy add a log message if isWarnEnabled is true
Lazy add a log message with throwable payload if isWarnEnabled is true
Log a message at the WARN level.
Log a message with the specific Marker at the WARN level.
Log a message at the WARN level according to the specified msg and argument.
Log a message at the WARN level according to the specified msg and arguments.
Log an exception (throwable) at the WARN level with an accompanying message.
This method is similar to .warn method except that the marker data is also taken into consideration.