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

Create a log disable strategy #9

Open
phillipjohnston opened this issue Oct 15, 2019 · 0 comments
Open

Create a log disable strategy #9

phillipjohnston opened this issue Oct 15, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@phillipjohnston
Copy link
Member

phillipjohnston commented Oct 15, 2019

What if a user wanted to compile-out all logging without relying on the macros? In this case, I could see using a "log disable" strategy of some sort.

We could make a class that doesn't perform any logging. With it, we can see how effective such a strategy would be. Do calls eventually get compiled out because they are no-ops? Does the class itself?

@phillipjohnston phillipjohnston changed the title Create a log disable strategy? Create a log disable strategy Mar 6, 2020
@phillipjohnston phillipjohnston added enhancement New feature or request help wanted Extra attention is needed question Further information is requested and removed question Further information is requested labels Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant