You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a thought. I for one always get confused as to which is more verbose, "verbose" or "debug". And I can imagine us wanting to set multiple levels at some point.
For example, in kubectl you can set --v=8 to dump a lot of logs. We could for example alias the named levels to the numeric levels (0=error, 1=warning, 2=info etc.), and perhaps make l an alias for --loglevel to make it more concise.
The text was updated successfully, but these errors were encountered:
Yeah, I agree we should have the numeric levels as well since the names tend to differ between languages/frameworks. E.g. Rails has :debug, :info, :warn, :error, :fatal, and :unknown.
And we could easily extend the number of levels as well although it feels like that could be a bit confusing. What's the difference between --v=7 and --v=8 for instance? And how should the developer decide which one to use?
Just a thought. I for one always get confused as to which is more verbose, "verbose" or "debug". And I can imagine us wanting to set multiple levels at some point.
For example, in
kubectl
you can set--v=8
to dump a lot of logs. We could for example alias the named levels to the numeric levels (0=error, 1=warning, 2=info etc.), and perhaps makel
an alias for--loglevel
to make it more concise.The text was updated successfully, but these errors were encountered: