LogFormatter typedef

LogFormatter = String Function(LogWrapper wrappedMessage, LoggingOptions options)

Defines the format of a log message.

This is a function type that takes a LogMessage and LoggingOptions and returns a formatted string.

Implementation

typedef LogFormatter = String Function(
  LogWrapper wrappedMessage,
  LoggingOptions options,
);