warn
Logs a LogLevel.TRACE level message with the given category.
Parameters
The category or identifier associated with the log message.
The message to be recorded
Logs a LogLevel.WARN level message with the given category by formatting the message using String.format, inserting the args into the placeholders in the order given in the message
Parameters
The category or identifier associated with the log message.
The message to be recorded, with placeholders to be replaced by the values given in args
Variable number of args to insert into the template.
Logs a LogLevel.WARN level message with the given category by evaluating the log message from the given message
This should be used in cases where a log message may require sizeable computation to produce the message, e.g. writing out JSON objects.
For Kotlin call-sites, there is a preferable inline alternative to avoid the anonymous class
logIfWarnEnabled - which is not suitable for logging prior to the first LogLevel being set.
Parameters
The category or identifier associated with the log message.
A block of code used to produce the message to be recorded