diff options
Diffstat (limited to 'pkg/cfg')
| -rw-r--r-- | pkg/cfg/mux.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkg/cfg/mux.go b/pkg/cfg/mux.go index a55b443e..6c6f4375 100644 --- a/pkg/cfg/mux.go +++ b/pkg/cfg/mux.go @@ -2,16 +2,10 @@ package cfg import ( "net/http" - - sloghttp "github.com/samber/slog-http" - xlog "gitlab.com/mokhax/spike/pkg/log" ) func WithMux(mux http.Handler) Option { return func(config *Config) { - config.Mux = sloghttp.NewWithConfig(xlog.Logger, sloghttp.Config{ - WithSpanID: true, - WithTraceID: true, - })(sloghttp.Recovery(mux)) + config.Mux = mux } } |
