Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.logger.const Namespace Reference

Variables

string ATTR_LEVEL = "level"
 
string DEFAULT_LOGSEVERITY = "DEBUG"
 
string DOMAIN = "logger"
 
string LOGGER_DEFAULT = "default"
 
string LOGGER_FILTERS = "filters"
 
string LOGGER_LOGS = "logs"
 
dictionary LOGSEVERITY
 
string LOGSEVERITY_CRITICAL = "CRITICAL"
 
string LOGSEVERITY_DEBUG = "DEBUG"
 
string LOGSEVERITY_ERROR = "ERROR"
 
string LOGSEVERITY_FATAL = "FATAL"
 
string LOGSEVERITY_INFO = "INFO"
 
string LOGSEVERITY_NOTSET = "NOTSET"
 
string LOGSEVERITY_WARN = "WARN"
 
string LOGSEVERITY_WARNING = "WARNING"
 
string SERVICE_SET_DEFAULT_LEVEL = "set_default_level"
 
string SERVICE_SET_LEVEL = "set_level"
 
string STORAGE_KEY = "core.logger"
 
string STORAGE_LOG_KEY = "logs"
 
int STORAGE_VERSION = 1
 

Detailed Description

Constants for the Logger integration.

Variable Documentation

◆ ATTR_LEVEL

string homeassistant.components.logger.const.ATTR_LEVEL = "level"

Definition at line 37 of file const.py.

◆ DEFAULT_LOGSEVERITY

string homeassistant.components.logger.const.DEFAULT_LOGSEVERITY = "DEBUG"

Definition at line 31 of file const.py.

◆ DOMAIN

string homeassistant.components.logger.const.DOMAIN = "logger"

Definition at line 5 of file const.py.

◆ LOGGER_DEFAULT

string homeassistant.components.logger.const.LOGGER_DEFAULT = "default"

Definition at line 33 of file const.py.

◆ LOGGER_FILTERS

string homeassistant.components.logger.const.LOGGER_FILTERS = "filters"

Definition at line 35 of file const.py.

◆ LOGGER_LOGS

string homeassistant.components.logger.const.LOGGER_LOGS = "logs"

Definition at line 34 of file const.py.

◆ LOGSEVERITY

dictionary homeassistant.components.logger.const.LOGSEVERITY
Initial value:
1 = {
2  LOGSEVERITY_CRITICAL: logging.CRITICAL,
3  LOGSEVERITY_FATAL: logging.FATAL,
4  LOGSEVERITY_ERROR: logging.ERROR,
5  LOGSEVERITY_WARNING: logging.WARNING,
6  LOGSEVERITY_WARN: logging.WARNING,
7  LOGSEVERITY_INFO: logging.INFO,
8  LOGSEVERITY_DEBUG: logging.DEBUG,
9  LOGSEVERITY_NOTSET: logging.NOTSET,
10 }

Definition at line 19 of file const.py.

◆ LOGSEVERITY_CRITICAL

string homeassistant.components.logger.const.LOGSEVERITY_CRITICAL = "CRITICAL"

Definition at line 15 of file const.py.

◆ LOGSEVERITY_DEBUG

string homeassistant.components.logger.const.LOGSEVERITY_DEBUG = "DEBUG"

Definition at line 11 of file const.py.

◆ LOGSEVERITY_ERROR

string homeassistant.components.logger.const.LOGSEVERITY_ERROR = "ERROR"

Definition at line 14 of file const.py.

◆ LOGSEVERITY_FATAL

string homeassistant.components.logger.const.LOGSEVERITY_FATAL = "FATAL"

Definition at line 17 of file const.py.

◆ LOGSEVERITY_INFO

string homeassistant.components.logger.const.LOGSEVERITY_INFO = "INFO"

Definition at line 12 of file const.py.

◆ LOGSEVERITY_NOTSET

string homeassistant.components.logger.const.LOGSEVERITY_NOTSET = "NOTSET"

Definition at line 10 of file const.py.

◆ LOGSEVERITY_WARN

string homeassistant.components.logger.const.LOGSEVERITY_WARN = "WARN"

Definition at line 16 of file const.py.

◆ LOGSEVERITY_WARNING

string homeassistant.components.logger.const.LOGSEVERITY_WARNING = "WARNING"

Definition at line 13 of file const.py.

◆ SERVICE_SET_DEFAULT_LEVEL

string homeassistant.components.logger.const.SERVICE_SET_DEFAULT_LEVEL = "set_default_level"

Definition at line 7 of file const.py.

◆ SERVICE_SET_LEVEL

string homeassistant.components.logger.const.SERVICE_SET_LEVEL = "set_level"

Definition at line 8 of file const.py.

◆ STORAGE_KEY

string homeassistant.components.logger.const.STORAGE_KEY = "core.logger"

Definition at line 39 of file const.py.

◆ STORAGE_LOG_KEY

string homeassistant.components.logger.const.STORAGE_LOG_KEY = "logs"

Definition at line 40 of file const.py.

◆ STORAGE_VERSION

int homeassistant.components.logger.const.STORAGE_VERSION = 1

Definition at line 41 of file const.py.