mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 11:18:02 +08:00
enable the route dump for unit testing of logging feature for ghttp.Server
This commit is contained in:
parent
0c021b6da7
commit
770653fafa
@ -32,7 +32,6 @@ func Test_Log(t *testing.T) {
|
||||
s.BindHandler("/error", func(r *ghttp.Request) {
|
||||
panic("custom error")
|
||||
})
|
||||
s.SetDumpRouterMap(false)
|
||||
s.SetLogPath(logDir)
|
||||
s.SetAccessLogEnabled(true)
|
||||
s.SetErrorLogEnabled(true)
|
||||
|
Loading…
Reference in New Issue
Block a user