mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +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)
|
||||
}
|
||||
|
||||
if common.IsDebug {
|
||||
if common.IsTrace {
|
||||
for _, child := range chain {
|
||||
child.enableTrace()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue