cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
7fde39fba5
commit
cc81bed81d
@ -2,7 +2,6 @@ package logger
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
"os"
|
"os"
|
||||||
@ -70,7 +69,6 @@ func WithContextAttrFuncs(fncs ...ContextAttrFunc) options.Option {
|
|||||||
for _, l := range fncs {
|
for _, l := range fncs {
|
||||||
cv = reflect.Append(cv, reflect.ValueOf(l))
|
cv = reflect.Append(cv, reflect.ValueOf(l))
|
||||||
}
|
}
|
||||||
fmt.Printf("EEEE %#+v\n", cv.Interface())
|
|
||||||
return options.Set(src, cv.Interface(), ".ContextAttrFuncs")
|
return options.Set(src, cv.Interface(), ".ContextAttrFuncs")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user