Google is committed to advancing racial equity for Black communities. See how.

onRecord property

Stream<LogRecord> onRecord

Returns a stream of messages added to this Logger.

You can listen for messages using the standard stream APIs, for instance:

logger.onRecord.listen((record) { ... });

Implementation

Stream<LogRecord> get onRecord => _getStream();