mirror of
https://github.com/nikdoof/aaisp-chaos.git
synced 2025-12-13 14:52:17 +00:00
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.
9 lines
135 B
Modula-2
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
|
|
)
|