driverLog top-level property

DriverLogCallback driverLog
getter/setter pair

Print the given message to the console.

The first argument is a string representing the source of the message.

The second argument is the message being logged.

This can be set to a different callback to override the handling of log messages from the driver subsystem.

The default implementation prints "$source: $message" to stderr.

Implementation

DriverLogCallback driverLog = _defaultDriverLogger;