LoggerOutput typedef

LoggerOutput = void Function(String message, {Object? error, LogLevel? logLevel, StackTrace? stackTrace, DateTime? time})

Callback signature for custom log output.

Implementation

typedef LoggerOutput = void Function(
  String message, {
  LogLevel? logLevel,
  Object? error,
  StackTrace? stackTrace,
  DateTime? time,
});