mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[logger] Conditionally compile runtime tag-specific log levels for performance (#11004)
This commit is contained in:
		| @@ -6,11 +6,16 @@ esphome: | ||||
|           format: "Warning: Logger level is %d" | ||||
|           args: [id(logger_id).get_log_level()] | ||||
|       - logger.set_level: WARN | ||||
|       - logger.set_level: | ||||
|           level: ERROR | ||||
|           tag: mqtt.client | ||||
|  | ||||
| logger: | ||||
|   id: logger_id | ||||
|   level: DEBUG | ||||
|   initial_level: INFO | ||||
|   logs: | ||||
|     mqtt.component: WARN | ||||
|  | ||||
| select: | ||||
|   - platform: logger | ||||
|   | ||||
		Reference in New Issue
	
	Block a user