log method

void log(
  1. String level,
  2. String component,
  3. String message
)

Logs a message to the console.

Takes the log level, the logging component name and the log message itself.

Implementation

void log(String level, String component, String message) {
  if (!_ready) throw AlohaException(AlohaException.notReady);
  _alohaContext.callMethod('log', [level, component, message]);
}