dropbox / dropbox/dbxcli

Verbose Logging

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
108
Avg merge
1h 36m
Merged PRs (30d)
10

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.