Fix log level bugs.

This commit is contained in:
Jay
2026-04-23 19:24:40 -04:00
parent 3f0d95955c
commit 230e6e608a
4 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -192,7 +192,8 @@ func WithLoggingEnabled(value bool) ConnectionOption {
func WithLogLevel(level slog.Level) ConnectionOption {
return func(c *ConnectionConfig) error {
c.LogLevel = &level
l := level
c.LogLevel = &l
return nil
}
}