jpictl: fix verbosity handling #21

Merged
amery merged 1 commits from pr-amery-verbosity into main 1 year ago
  1. 2
      cmd/jpictl/main.go

2
cmd/jpictl/main.go

@ -37,5 +37,5 @@ func setVerbosity(_ *cobra.Command, _ []string) {
if desired > 6 {
desired = 6
}
log = log.WithLevel(slog.LogLevel(desired))
log = zerolog.New(nil, slog.LogLevel(desired))
}

Loading…
Cancel
Save