write method

  1. @override
void write (LogLevel level, String correlationId Exception error, String message)
override

Writes a log message to the logger destination.

  • 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.