Switch to a proper logging library

Structured logs can be enabled with `-log.json`.
This commit is contained in:
Conrad Hoffmann 2022-12-01 12:00:42 +01:00
parent 03fce79e57
commit 40bae8dc31
9 changed files with 75 additions and 64 deletions

4
go.mod
View file

@ -10,9 +10,13 @@ require (
github.com/emersion/go-webdav v0.3.2-0.20221122105813-ac9af45270fb
github.com/go-chi/chi/v5 v5.0.7
github.com/msteinert/pam v1.0.0
github.com/rs/zerolog v1.28.0
)
require (
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/teambition/rrule-go v1.7.2 // indirect
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
golang.org/x/text v0.3.7 // indirect
)