Add documentation for logger.set_level service (#27211)
* Add set_level doc * use only yaml * reformat * improvementspull/27370/head
parent
1257706bd9
commit
3194dd3456
|
@ -1,6 +1,22 @@
|
|||
set_default_level:
|
||||
description: Set the default log level for components.
|
||||
fields:
|
||||
level: {description: 'Default severity level. Possible values are notset, debug,
|
||||
info, warn, warning, error, fatal, critical', example: debug}
|
||||
set_level: {description: Set log level for components.}
|
||||
level:
|
||||
description: "Default severity level. Possible values are debug, info, warn, warning, error, fatal, critical"
|
||||
example: debug
|
||||
|
||||
set_level:
|
||||
description: Set log level for components.
|
||||
fields:
|
||||
homeassistant.core:
|
||||
description: "Example on how to change the logging level for a Home Assistant core components. Possible values are debug, info, warn, warning, error, fatal, critical"
|
||||
example: debug
|
||||
homeassistant.components.mqtt:
|
||||
description: "Example on how to change the logging level for an Integration. Possible values are debug, info, warn, warning, error, fatal, critical"
|
||||
example: warning
|
||||
custom_components.my_integration:
|
||||
description: "Example on how to change the logging level for a Custom Integration. Possible values are debug, info, warn, warning, error, fatal, critical"
|
||||
example: debug
|
||||
aiohttp:
|
||||
description: "Example on how to change the logging level for a Python module. Possible values are debug, info, warn, warning, error, fatal, critical"
|
||||
example: error
|
||||
|
|
Loading…
Reference in New Issue