Browse Source

Merge pull request 'jpictl: fix verbosity handling' (#21)

Reviewed-on: #21
pull/23/head v0.6.3
Alejandro Mery 1 year ago
parent
commit
5abaed9047
  1. 2
      cmd/jpictl/main.go

2
cmd/jpictl/main.go

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

Loading…
Cancel
Save