log method

  1. @override
Future<void> log(
  1. String level,
  2. String message, {
  3. String groupId = '',
  4. String? source,
  5. String? timestamp,
})
override

Implementation

@override
Future<void> log(String level, String message,
    {String groupId = '', String? source, String? timestamp}) async {
  source ??= Trace.current(1).logLine();
  await _inner.log(level, message,
      groupId: groupId.isNotEmpty ? groupId : withGroupId,
      source: source,
      timestamp: timestamp);
}