OnLogged typedef

OnLogged = void Function(String message)

Signature for logging callbacks used to report runtime scanning messages.

This is typically passed to ApplicationRuntimeScanner for custom logging:

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

Implementation

typedef OnLogged = void Function(String message);