Skip to content

Verbose Logging #156

Description

@MarkMichaelis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions