Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/pkgsite: support to set minimum log level #40339
Right now there isn't a proper way to disable a log level.
For example, if you want to disable the
I feel there should be better way to setup the minimum log level below which, no logs should be printed.
If allowed, I would like to work on the implementation.
Like other configs, I think we should use
We should go with default log level as
Is approach (1) acceptable?
Other way i can think of is to take the log level as command line arg. But I am not sure this would be good approach in this context.
I'm okay with this idea. Namely: