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

Change Logger.dev calls to Logger.debug #2506

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

FreedomBen
Copy link
Contributor

Change Logger.dev calls to Logger.debug

Logger.dev is kind of in a weird spot where it doesn't fit into the
standard log level. It is called directly by some code and it only
checks whether a property is set (which comes from an env var) before
deciding to print out.

This standardizes on debug by changing the dev calls to debug. Also
removes the now unused code.

Logger.dev is kind of in a weird spot where it doesn't fit into the
standard log level.  It is called directly by some code and it only
checks whether a property is set (which comes from an env var) before
deciding to print out.

This standardizes on `debug` by changing the dev calls to debug. Also
removes the now unused code.
@FreedomBen
Copy link
Contributor Author

Reference: #2489

The setting of the log level discussed there will be in a separate PR

@advplyr
Copy link
Owner

advplyr commented Jan 9, 2024

Looks good, thanks!

@advplyr advplyr merged commit 1a361c9 into advplyr:master Jan 9, 2024
1 check passed
@FreedomBen FreedomBen deleted the remove-dev-logs branch January 9, 2024 22:53
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