Files
aaisp-chaos/go.mod
James O'Gorman cab8f1f626 Add a standard logger and HTTP logging middleware
Create a standard log object and use dependency injection to pass it to
the broadbandCollector and a new loggingMiddleware for wrapping HTTP
requests to log the request.

Logs are emitted as structured JSON logs by default but can be switched
to a human-friendly output by passing -log.level console.

The Prometheus client_golang library has also been upgraded.
2020-11-28 15:06:05 +00:00

9 lines
135 B
Modula-2

module github.com/jamesog/aaisp-chaos
go 1.13
require (
github.com/prometheus/client_golang v1.8.0
github.com/rs/zerolog v1.20.0
)