Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging: bypass esp_log output #87

Merged
merged 2 commits into from
Oct 19, 2024
Merged

logging: bypass esp_log output #87

merged 2 commits into from
Oct 19, 2024

Conversation

SpComb
Copy link
Member

@SpComb SpComb commented Oct 19, 2024

Keep using the esp_log formatting for our own LOG_* macros, but skip the tag/level mechanisms and just output directly on stderr.

This means we can use build-time #define DEBUG for debug-level logging at the *.c file level without having to raise the CONFIG_LOG_DEFAULT_LEVEL and including all debug logging into the firmware. Skip the esp_log tag/level mechanism because we don't use it for setting runtime log levels.

@SpComb SpComb merged commit 4cb2bcc into master Oct 19, 2024
3 checks passed
@SpComb SpComb deleted the logging-stderr branch October 19, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant