log abstract method

void log(
  1. String level,
  2. String message, {
  3. String? tag,
  4. dynamic ex,
  5. StackTrace? stacktrace,
  6. Map<String, String?>? attributes,
})

Logs message with log level and optional tag, ex (exception) stacktrace

Implementation

void log(
  String level,
  String message, {
  String? tag,
  dynamic ex,
  StackTrace? stacktrace,
  Map<String, String?>? attributes,
});