DriverLogCallback typedef

void DriverLogCallback (
  1. String source,
  2. String message
)

Signature for driverLog.

The first argument is a string representing the source of the message, typically the class name or library name calling the method.

The second argument is the message being logged.

Implementation

typedef DriverLogCallback = void Function(String source, String message);