Skip to content

Improve logging and messaging (Configurable log levels & passing useful errors back to the client) #100

Description

@tammersaleh

We're logging to two places Logger() and fmt.Printf() - are they going to the same place (stdout)? If so, why use two separate calls.

Also, many of our error messages are focused on the implementation ("Failed to initialize dohicky") instead of the impact ("Failed to connect to google.com").

  • standardize logging system
  • review error messages, rewriting them for the user's consumption.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions