LoggerFormatter typedef

LoggerFormatter = String Function(LogContext context, LoggerDateFormatter? dateFormatter)

A function that formats log messages. context contains all relevant information about the log entry.

Implementation

typedef LoggerFormatter =
    String Function(LogContext context, LoggerDateFormatter? dateFormatter);