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.
dateTimeis the DateTime object to format. - LoggerFormatter = String Function(LogContext context, LoggerDateFormatter? dateFormatter)
-
A function that formats log messages.
contextcontains all relevant information about the log entry.