error
Logs an error message using the current LoggerProvider configured in this CoroutineContext.
Parameters
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 an error message using the current LoggerProvider configured in this CoroutineContext.
Parameters
The class to use for 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.
Add a log message if error logging is enabled