CustomConsoleLogFunction typedef
CustomConsoleLogFunction =
void Function(LogLevel level, String message, String? errorMessage, String? errorKind, StackTrace? stackTrace, Map<String, Object?> attributes)
A function that allows you control Datadog's console log output. This function
is called instead of calling Flutter's default print
, and does not effect what
is sent to Datadog.
Implementation
typedef CustomConsoleLogFunction = void Function(
LogLevel level,
String message,
String? errorMessage,
String? errorKind,
StackTrace? stackTrace,
Map<String, Object?> attributes,
);