enable the route dump for unit testing of logging feature for ghttp.Server
@@ -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)
