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

log level filter #1

Closed
hashar opened this issue Dec 1, 2011 · 2 comments
Closed

log level filter #1

hashar opened this issue Dec 1, 2011 · 2 comments

Comments

@hashar
Copy link

hashar commented Dec 1, 2011

Hello,

It would be great if we could select verbosity of our scripts, i.e. disable output for message below a given threshold. Some script could then add clog.debug() message everywhere which will not be shown by default.

debug
info
log
warn
error

Info should be the default level I think. We could then handle a --debug arguments to ask clog to also output the debug messages.

@firejune
Copy link
Owner

firejune commented Dec 1, 2011

Wow! Great idea! thanks, hashar.

@firejune
Copy link
Owner

Applies to version 0.1.2.

@firejune firejune reopened this Jan 16, 2012
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

2 participants