base_logger library

Classes

BaseLogger
Base class for loggers.
LogContext
Context information for a log entry.

Typedefs

LoggerDateFormatter = String Function(DateTime dateTime)
A function that formats DateTime objects to strings. dateTime is the DateTime object to format.
LoggerFormatter = String Function(LogContext context, LoggerDateFormatter? dateFormatter)
A function that formats log messages. context contains all relevant information about the log entry.