Returns the current bindings of the logger.
The current bindings.
Creates a child logger with additional bindings. Child loggers inherit the parent's configuration but add their own metadata.
Metadata to bind to all logs from the child logger.
A new logger instance.
Logs at the 'debug' level.
Logs at the 'error' level.
Logs at the 'fatal' level (highest priority).
Flush any buffered log output (e.g. pino's sonic-boom buffer). Safe to call as a no-op when no buffer is in use.
Optionalcb: (err?: Error | null) => void
Optional callback called after flushing.
Logs at the 'info' level (default).
Current log level as a string (e.g., 'info', 'debug').
Current log level as a numeric value.
Enables or disables system telemetry injection in log entries.
The telemetry mode.
Sets the log level to 'silent', disabling all output.
Logs at the 'trace' level (most verbose).
Logs at the 'warn' level.
StrictLogger Interface Defines a consistent API across all runtimes (Node, Bun, Deno, Cloudflare, etc.) This ensures that logging behavior is predictable and uniform regardless of the deployment target.