marvin.utilities.logging
Module for logging utilities.
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
|
Optional[str]
|
The name of the logger to retrieve. |
None
|
Returns:
Type | Description |
---|---|
Logger
|
The logger with the given name, or the root logger if no name is given. |