Logs a message at the specified level.
The severity level of the log message.
An optional Throwable to log along with the message.
A lambda returning the string message to log. It is only evaluated if the given level is enabled.