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

Support custom environment variables for load_env_levels #3327

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

ken-matsui
Copy link
Contributor

SPDLOG_LEVEL is currently supported to control log levels via load_env_levels.

This patch adds support for other environment variable names, such as MYAPP_LEVEL, for load_env_levels.

SPDLOG_LEVEL is currently supported to control log levels via
load_env_levels.

This patch adds support for other environment variable names, such as
MYAPP_LEVEL, for load_env_levels.
tests/test_cfg.cpp Show resolved Hide resolved
@gabime gabime merged commit ae1de0d into gabime:v1.x Jan 23, 2025
17 checks passed
@gabime
Copy link
Owner

gabime commented Jan 23, 2025

Thanks @ken-matsui

@ken-matsui ken-matsui deleted the support-custom-envvar branch January 23, 2025 22:31
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.

2 participants