addLogListener static method

void addLogListener(
  1. LogCallback callback
)

Register a LogCallback which is called for each new LogEvent.

Implementation

static void addLogListener(LogCallback callback) {
  _logCallbacks.add(callback);
}