mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-22 20:24:03 +02:00
chore: move middleware trace to trace level
This commit is contained in:
parent
f1ba554a24
commit
9eae809690
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue