Open MarkMichaelis opened 3 years ago
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?
There multiple occasions when an err is returned and then ignored with code such as:
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?