log
Logs a message using the current LoggerProvider configured in this CoroutineContext.
Parameters
The level (or severity) of this event
The name of the component that generated the event
An optional exception which explains the message
A lambda which provides the content of the message. This content does not need to include any data from the exception (if any), which may be concatenated later based on probe behavior.
Logs a message using the current LoggerProvider configured in this CoroutineContext.
Parameters
The class to use for the name of the component that generated the event
The level (or severity) of this event
An optional exception which explains the message
A lambda which provides the content of the message. This content does not need to include any data from the exception (if any), which may be concatenated later based on probe behavior.