error method
Implementation
@override
Future<void> error(String message,
{String groupId = '', String? source, String? timestamp}) async {
source ??= Trace.current(1).logLine();
await log('ERROR', message,
groupId: groupId, source: source, timestamp: timestamp);
}