Logging
Module for logging utilities.
RaggyLogger
¶
A subclass of the standard library logging.Logger
class that adds methods for
logging with styles and key-value pairs.
get_logger
cached
¶
Retrieves a logger with the given name, or the root logger if no name is given.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str | None
|
The name of the logger to retrieve. |
None
|
Returns:
Type | Description |
---|---|
RaggyLogger
|
The logger with the given name, or the root logger if no name is given. |