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

Improve logger construction and add test helper class #826

Merged
merged 5 commits into from
Jun 26, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jun 26, 2023

Instead of giving an environment variable to pre-set the logger level, just use a helper function for the default. For testing the logger I added a helper class to store log messages, temporarily replace one of the global loggers.

@sethrj sethrj added internal minor Minor internal changes or fixes labels Jun 26, 2023
@sethrj sethrj requested a review from amandalund June 26, 2023 03:11
Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

Thanks @sethrj!

@sethrj sethrj merged commit 395e3d5 into celeritas-project:develop Jun 26, 2023
@sethrj sethrj deleted the scoped-log branch June 26, 2023 20:23
@sethrj sethrj added the core Software engineering infrastructure label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Software engineering infrastructure minor Minor internal changes or fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants