Skip to content

Commit

Permalink
fix(ghttp): fix access log info format (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
stardemo authored Aug 10, 2023
1 parent 4020eb9 commit 35a326e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ghttp/ghttp_server_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (s *Server) handleAccessLog(r *Request) {
l.SetLevelPrint(false)
return l
}).(*glog.Logger)
logger.Printf(r.Context(), content)
logger.Print(r.Context(), content)
}

// handleErrorLog handles the error logging for server.
Expand Down

0 comments on commit 35a326e

Please sign in to comment.