Skip to content

Commit 0e2e1cc

Browse files
author
Sergio Andres Virviescas Santana
committed
Fix to use internal logger
1 parent 453d78c commit 0e2e1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atreugo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (s *Atreugo) handler(viewFn View) fasthttp.RequestHandler {
4848
actx := acquireRequestCtx(ctx)
4949
defer releaseRequestCtx(actx)
5050

51-
if logger.DebugEnabled() {
51+
if s.log.DebugEnabled() {
5252
s.log.Debugf("%s %s", actx.Method(), actx.URI())
5353
}
5454

0 commit comments

Comments
 (0)