logError static method
void
logError(])
Implementation
static void logError(
String message, [
Object? error,
StackTrace? stackTrace,
Map<String, Object?>? attributes,
]) {
_logger?.error(
message,
errorMessage: error?.toString(),
errorStackTrace: stackTrace,
attributes: attributes ?? {},
);
}