dbxcli
dbxcli copied to clipboard
Verbose Logging
There multiple occasions when an err is returned and then ignored with code such as:
if err != nil {
return err
}
I'd like to start logging these so that they appear when the --verbose/-v flag is active. Does this make sense?
Regardless, what is the recommended code pattern for logging messages when verbose mode is active?