log method

  1. @override
void log(
  1. Level level,
  2. dynamic message, {
  3. DateTime? time,
  4. Object? error,
  5. StackTrace? stackTrace,
})

Log a message with level.

Implementation

@override
void log(Level level, message,
    {DateTime? time, Object? error, StackTrace? stackTrace}) {
  super.log(level, message,
      time: time ?? DateTime.now(), error: error, stackTrace: stackTrace);
}