Skip to content

Commit

Permalink
Remove logger dependency from server package
Browse files Browse the repository at this point in the history
  • Loading branch information
janos committed Oct 20, 2021
1 parent b3cd2a1 commit 412598e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/crypto/acme/autocert"
"resenje.org/email"
"resenje.org/logging"
"resenje.org/recovery"
"resenje.org/web/maintenance"
"resenje.org/web/servers"
Expand All @@ -43,7 +42,7 @@ type Server struct {
buildInfo string
acmeCertsDir string
acmeCertsEmail string
logger *logging.Logger
logger servers.Logger

dataDumpServices map[string]datadump.Interface
emailService *email.Service
Expand Down Expand Up @@ -131,7 +130,7 @@ type Options struct {
ACMECertsEmail string
SetupInternalRouters func(base, api *http.ServeMux)

Logger *logging.Logger
Logger servers.Logger

EmailService *email.Service
RecoveryService *recovery.Service
Expand Down

0 comments on commit 412598e

Please sign in to comment.