OptionallevelThe log level for the logger.
Defines the minimum level of log messages that should be logged. Common values include:
'error': Errors that need immediate attention'warn': Warnings'info': Informational messages'debug': Debug information'trace': Fine-grained debug informationOptionalresolverA resolver function that returns a logger instance.
Allows you to customize the logger used by the application. This function provides a way to inject a logger that suits specific requirements.
OptionaluseWhether to enable color output in the logs.
Useful for improving log readability, especially in terminal environments or when using third-party loggers such as Pino.
OptionaluseDefines whether to include a timestamp in log messages.
Adding timestamps helps in tracking when each log event occurred.
LoggerConfig Interface
Represents the base configuration options for an
ILoggerinstance. This allows customization of logging behavior, including log level, output styling, and the logger resolver.