OnLogged typedef

OnLogged = void Function(String message, bool overwrite)

Signature for logging callbacks used to report runtime scanning messages.

void logInfo(String msg) => print('[INFO] $msg');
final scanner = DefaultRuntimeScan(onInfo: logInfo);

Implementation

typedef OnLogged = void Function(String message, bool overwrite);