BeforeSendLogCallback typedef
This function is called right before a log is about to be sent. Can return a modified log or null to drop the log.
Implementation
typedef BeforeSendLogCallback = FutureOr<SentryLog?> Function(SentryLog log);
This function is called right before a log is about to be sent. Can return a modified log or null to drop the log.
typedef BeforeSendLogCallback = FutureOr<SentryLog?> Function(SentryLog log);