log function

void log (String message, { DateTime time, int sequenceNumber, int level: 0, String name: '', Zone zone, Object error, StackTrace stackTrace })

Emit a log event.

This function was designed to map closely to the logging information collected by package:logging.

Implementation

external void log(
  String message, {
  DateTime time,
  int sequenceNumber,
  int level: 0,
  String name: '',
  Zone zone,
  Object error,
  StackTrace stackTrace,
});