log
Logs a message at the given level and category.
Parameters
The LogLevel that this message should be logged at
The category or identifier associated with the log message.
The message to be recorded
Logs a message at the given level and category by formatting the message using String.format, inserting the args into the placeholders in the order given in the message
Parameters
The LogLevel that this message should be logged at
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 message at the given level and 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.
Parameters
The LogLevel that this message should be logged at
The category or identifier associated with the log message.
A block of code used to produce the message to be recorded