mdvtools.logging_config#
Functions#
|
Set up a logger with consistent formatting across all mdvtools modules. |
|
Get a logger with consistent formatting. This is a convenience function |
Module Contents#
- mdvtools.logging_config.setup_logger(name: str, level: int = logging.INFO) logging.Logger [source]#
Set up a logger with consistent formatting across all mdvtools modules.
- Parameters:
name – The logger name (usually __name__)
level – The logging level (default: INFO)
- Returns:
A configured logger instance
- mdvtools.logging_config.get_logger(name: str, level: int = logging.INFO) logging.Logger [source]#
Get a logger with consistent formatting. This is a convenience function that calls setup_logger.
- Parameters:
name – The logger name (usually __name__)
level – The logging level (default: INFO)
- Returns:
A configured logger instance