Log¶
InterceptHandler
¶
Bases: Handler
Handles intercepted messages and dispatches them to registered handlers.
This class acts as a central point for receiving messages that have been intercepted, and then distributing those messages to specific handler functions based on message type or other criteria. It allows for flexible and extensible message processing without tightly coupling the interception logic with the handling logic.
Source code in repo_agent/log.py
emit(record)
¶
No valid docstring found.
Source code in repo_agent/log.py
set_logger_level_from_config(log_level)
¶
Configures the logging output to display messages at or above the specified level and confirms successful configuration.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
log_level
|
The desired log level (e.g., "DEBUG", "INFO"). |
required |
Returns:
Type | Description |
---|---|
None |
|
Sets the logging level for the root logger and prints a success message. |