|
|
@ -24,7 +24,6 @@ import ( |
|
|
|
"bytes" |
|
|
|
"bytes" |
|
|
|
"errors" |
|
|
|
"errors" |
|
|
|
"io" |
|
|
|
"io" |
|
|
|
"log/slog" |
|
|
|
|
|
|
|
"os" |
|
|
|
"os" |
|
|
|
"os/user" |
|
|
|
"os/user" |
|
|
|
"path/filepath" |
|
|
|
"path/filepath" |
|
|
@ -57,7 +56,7 @@ type HandlerT struct { |
|
|
|
// Verbosity sets the log verbosity ceiling. The verbosity of individual packages
|
|
|
|
// Verbosity sets the log verbosity ceiling. The verbosity of individual packages
|
|
|
|
// and source files can be raised using Vmodule.
|
|
|
|
// and source files can be raised using Vmodule.
|
|
|
|
func (*HandlerT) Verbosity(level int) { |
|
|
|
func (*HandlerT) Verbosity(level int) { |
|
|
|
glogger.Verbosity(slog.Level(level)) |
|
|
|
glogger.Verbosity(log.FromLegacyLevel(level)) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Vmodule sets the log verbosity pattern. See package log for details on the
|
|
|
|
// Vmodule sets the log verbosity pattern. See package log for details on the
|
|
|
|