mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Minor change to documentation for logger component
This commit is contained in:
parent
ebc95aca51
commit
fd50693ca7
@ -8,13 +8,21 @@ https://home-assistant.io/components/logger.html
|
||||
|
||||
Sample configuration
|
||||
|
||||
# By default log all messages and ignore log event lowest than critical for custom omponents
|
||||
logger:
|
||||
default: critical
|
||||
default: info
|
||||
logs:
|
||||
homeassistant.components: debug
|
||||
homeassistant.components.device_tracker: critical
|
||||
homeassistant.components.camera: critical
|
||||
|
||||
# By default ignore all messages lowest than critical and log event for custom components
|
||||
logger:
|
||||
default: critical
|
||||
logs:
|
||||
homeassistant.components: info
|
||||
homeassistant.components.rfxtrx: debug
|
||||
homeassistant.components.device_tracker: critical
|
||||
homeassistant.components.camera: critical
|
||||
"""
|
||||
import logging
|
||||
from collections import OrderedDict
|
||||
|
Loading…
x
Reference in New Issue
Block a user