NexusLogSink typedef
NexusLogSink =
void Function(NexusLogLevel level, String message, [Object? error, StackTrace? stackTrace])
A custom log sink — receive every record the SDK emits (e.g. to forward it
into your own logging, or into Nexus Logs). Set via NexusConfig.onLog.
Implementation
typedef NexusLogSink = void Function(
NexusLogLevel level,
String message, [
Object? error,
StackTrace? stackTrace,
]);