-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support debug mode #90
Comments
What kind of stuff you had in mind here? Most(?) of the current output seems to be Cobra cmd prints but using that deeper in the engine would require passing it forward which would not be cool, and some output comes from There's golang
And then one can implement some kind of DIY logger of course. |
I haven't actually thought about the logging library that much, but I think we can start with the Go's |
My initial though was just conditionally run the |
Yeah using if would be dumb 😄 Using conditionally set output seems fine if you you don't see a need more fine-grained logging. With a proper logger the code would just log stuff with different level and flags would configure log output based on the levels, but this might be an overkill for the need. |
Currently we already have a global flag
--debug
, but it does not do anything. Enabling debug mode should cause more verbose loggingThe text was updated successfully, but these errors were encountered: