Creates a new logger instance.
The validator instance.
The config instance.
The optional logger transport instance.
Logs a debug message — detailed information for debugging.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
Logs an error message — errors that can be handled.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
Logs a fatal message — unrecoverable errors causing application shutdown.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
Logs an info message — general application events.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
Logs a trace message — application flow tracing.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
Logs a warning message — potentially problematic situations.
The log message.
Optionaldata: LoggerData
Optional structured data to attach to the log entry.
StaticregisterRegisters the logger as a singleton in the DI container.
The DI container to register in.
Pino-based logger implementation.
Uses the high-performance Pino library as the backend.
See
https://getpino.io - Pino logger documentation
Depends:
Example