publish method

  1. @override
void publish(
  1. Log log
)

Publishes the given log event.

Implementation

@override
void publish(Log log) {
  // After close, publishing is a no-op: the base publish would throw a
  // StateError into the logging call, and the buffer would never be
  // drained.
  if (_closed || log.level < minLevel) return;

  super.publish(log);
}