akkudoktoreos.core.logging
Utility functions for handling logging tasks.
Functions:
get_logger: Creates and configures a logger with console and optional rotating file logging.
Example usage:
# Logger setup >>> logger = get_logger(__name__, log_file=”app.log”, logging_level=”DEBUG”) >>> logger.info(“Logging initialized.”)
Notes:
The logger supports rotating log files to prevent excessive log file size.
Functions
|
Creates and configures a logger with a given name. |