log method
void
log(])
override
Logs a message at specified log level.
level
a log level.correlationId
(optional) transaction id to trace execution through call chain.error
an error object associated with this message.message
a human-readable message to log.args
arguments to parameterize the message.
Implementation
@override
void log(
LogLevel level, String? correlationId, Exception? error, String message,
[List? args]) {
_formatAndWrite(level, correlationId, error, message, args);
}