feat: replace logging with zerolog

This commit is contained in:
Manuel Rüger
2026-03-28 09:55:58 +01:00
parent 74c4a306c3
commit e160121005
19 changed files with 204 additions and 180 deletions

View File

@@ -6,7 +6,7 @@ import (
"text/template"
"github.com/kovetskiy/mark/v16/confluence"
"github.com/reconquest/pkg/log"
"github.com/rs/zerolog/log"
"github.com/reconquest/karma-go"
)
@@ -42,7 +42,7 @@ func templates(api *confluence.API) (*template.Template, error) {
}
user, err := api.GetUserByName(name)
if err != nil {
log.Error(err)
log.Error().Err(err).Send()
}
return user