8000 capnslog: LogLevel should fully implement pflag.Value · Issue #52 · coreos/pkg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

capnslog: LogLevel should fully implement pflag.Value #52

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

Open
mischief opened this issue Feb 26, 2016 · 0 comments
Open

capnslog: LogLevel should fully implement pflag.Value #52

mischief opened this issue Feb 26, 2016 · 0 comments

Comments

6449
@mischief
Copy link
Contributor

LogLevel should implement https://godoc.org/github.com/spf13/pflag#Value, so that one may do e.g.:

main.PersistentFlags().Var(&level, "log-level", "Set global log level. (default is NOTICE)")
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

1 participant
0