database: initial import for dsn parsing #275

Merged
vtolstov merged 2 commits from database into master 2023-11-01 23:44:02 +03:00
Showing only changes of commit cc81bed81d - Show all commits

View File

@ -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")
} }
} }