Skip to content

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 3, 2025

Description:

Document the new runtime_tag_levels configuration option for the logger component and explain the performance optimization for runtime tag-specific log levels.

Changes:

  • Added runtime_tag_levels configuration option documentation
  • Explained auto-enable behavior when logs: is configured or logger.set_level uses tag: parameter
  • Added performance/memory optimization notes
  • Provided migration guidance for C++ lambda usage with examples

Related issue (if applicable): N/A - Performance optimization

Pull request in esphome with YAML changes (if applicable):

Checklist:

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /components/index.rst when creating new documents for new components or cookbook.

Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit d70194d
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/68e03a9178c0e000081e3520
😎 Deploy Preview https://deploy-preview-5444--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bdraco bdraco marked this pull request as ready for review October 3, 2025 21:42
@Copilot Copilot AI review requested due to automatic review settings October 3, 2025 21:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Documents the new runtime_tag_levels configuration option for the logger component, which enables runtime per-tag log level changes with automatic enablement and performance optimization features.

  • Added documentation for the runtime_tag_levels configuration option with auto-enable behavior
  • Added performance and memory optimization notes explaining when the feature is disabled
  • Provided migration guidance for C++ lambda usage requiring manual enablement

@jesserockz jesserockz merged commit 2f7e5b0 into next Oct 5, 2025
7 checks passed
@jesserockz jesserockz deleted the logger_runtime_levels branch October 5, 2025 21:00
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants