error static method
void
error(})
Error level logging
Implementation
static void error(Object? message,
{String? tag,
Object? error,
StackTrace? stackTrace,
Map<String, dynamic>? context}) {
_defaultLogger.error(message.toString(),
tag: tag, error: error, stackTrace: stackTrace, context: context);
}