has_level_handler
Check if there is a handler in the logging chain that will handle the given logger's :meth:effective level < ~logging.Logger.getEffectiveLevel >.
def has_level_handler(
logger: logging.Logger
) - > bool
Check if there is a handler in the logging chain that will handle the given logger's :meth:effective level < ~logging.Logger.getEffectiveLevel >.
Parameters
| Name | Type | Description |
|---|---|---|
| logger | logging.Logger | The logger object to check for an appropriate handler. |
Returns
| Type | Description |
|---|---|
bool | True if a handler is found that can handle the logger's effective level, False otherwise. |