log method

  1. @override
List<String> log(
  1. LogEvent event
)
override

Is called every time a new LogEvent is sent and handles printing or storing the message.

Implementation

@override
List<String> log(LogEvent event) =>
    _printerMap[event.level]?.log(event) ?? [];