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

Mute the log when no initialisation has been done? #8

Open
stur86 opened this issue Jun 3, 2019 · 2 comments
Open

Mute the log when no initialisation has been done? #8

stur86 opened this issue Jun 3, 2019 · 2 comments

Comments

@stur86
Copy link

stur86 commented Jun 3, 2019

I'm using aixlog in a project with a big amount of files and functions useful to perform various calculations which will be recycled by multiple binaries. Not all these binaries might need to log their output, but when I do not use any initialisation the result is still printed to cout, except in a more garbled form (with no spaces). Is it possible to make it the default to not print anything unless an initialisation has been performed?

@badaix
Copy link
Owner

badaix commented Sep 19, 2019

sounds very useful, I will check this

@didadida-r
Copy link

i also meet this problem.

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

No branches or pull requests

3 participants