Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.logger
 

Functions

None homeassistant.components.logger._add_log_filter (logging.Logger logger, list[re.Pattern] patterns)
 
type[logging.Logger] homeassistant.components.logger._get_logger_class (dict[str, int] hass_overrides)
 
bool homeassistant.components.logger.async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.logger._VALID_LOG_LEVEL = vol.All(vol.Upper, vol.In(LOGSEVERITY), LOGSEVERITY.__getitem__)
 
 homeassistant.components.logger.CONFIG_SCHEMA
 
 homeassistant.components.logger.SERVICE_SET_DEFAULT_LEVEL_SCHEMA = vol.Schema({ATTR_LEVEL: _VALID_LOG_LEVEL})
 
 homeassistant.components.logger.SERVICE_SET_LEVEL_SCHEMA = vol.Schema({cv.string: _VALID_LOG_LEVEL})