onRecord property

Stream<LogRecord> onRecord

The stream of log records.

This is a broadcast stream. It is safe to listen to it multiple times. If no listeners are attached in any isolate, the trace will go to stdout.

Implementation

Stream<LogRecord> get onRecord => _controller.stream;