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

Feature Request: Conditional Logging options #299

Open
gabrielOttopia opened this issue Sep 5, 2024 · 0 comments
Open

Feature Request: Conditional Logging options #299

gabrielOttopia opened this issue Sep 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gabrielOttopia
Copy link

Description / Use Case for a Feature

I often times want only to log something if an action fails. It would make my code a lot cleaner if i could do something like
logger.conditional.info(true, "log msg")
or info.conditional

I could create a function that does this but it would be nice to be built into the logger!

@gabrielOttopia gabrielOttopia added the enhancement New feature or request label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant