Logger
Logging configuration for the MqPy application.
This module provides a centralized logging configuration for the entire application. Import this module instead of directly importing the logging module to ensure consistent logging behavior across the application.
get_logger #
Get a logger with the specified name and level.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
                name
             | 
            
                  str
             | 
            
               The name of the logger, typically name.  | 
            required | 
                level
             | 
            
                  int | None
             | 
            
               The logging level. Defaults to INFO if None.  | 
            
                  None
             | 
          
Returns:
| Type | Description | 
|---|---|
                  logging.Logger
             | 
            
               logging.Logger: A configured logger instance.  |