Create a child logger with a specific component context.
The component context for the child logger
A new logger instance with the specified context
Log a message at DEBUG level.
The message to log (supports printf-style formatting)
Additional arguments for formatting or metadata
Log a message at ERROR level.
The message to log (supports printf-style formatting)
Additional arguments for formatting or metadata
Get the current logging context.
The current context or undefined if not in a context
Log a message at INFO level.
The message to log (supports printf-style formatting)
Additional arguments for formatting or metadata
Run a function within a logging context.
The context to use for logging
The function to execute
The result of the function
Log a message at TRACE level.
The message to log (supports printf-style formatting)
Additional arguments for formatting or metadata
Log a message at WARN level.
The message to log (supports printf-style formatting)
Additional arguments for formatting or metadata
Interface for a logger instance. Defines the public API that all logger implementations must follow.