Skip to content

Create Logger Interface #14

@steve-r-west

Description

@steve-r-west

Let's create a logger interface, either use some random go library or create our own.

Let's support at least the following log levels:

  1. TRACE
  2. DEBUG
  3. INFO
  4. WARN
  5. ERROR
  6. FATAL

All log messages should be outputted on standard error, NOT standard output (the reason being is that we want the output to only be the json response, most of the time so you can pipe it into jq).

Additionally, let's change the command interface to also take this logger object (See #8)

Metadata

Metadata

Assignees

Labels

BootstrapTickets for bootstrapping this project.good first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions