log method

void log (LogLevel level, String correlationId, [ ApplicationException error, String message, [ List args ])

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.