mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 17:58:45 +02:00
chore: move middleware trace to trace level
This commit is contained in:
@@ -27,7 +27,7 @@ func NewMiddlewareChain(name string, chain []*Middleware) *Middleware {
|
|||||||
comp.setParent(m)
|
comp.setParent(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
if common.IsDebug {
|
if common.IsTrace {
|
||||||
for _, child := range chain {
|
for _, child := range chain {
|
||||||
child.enableTrace()
|
child.enableTrace()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user