feat: Integrates cli-client dependency into cli-version executable
This commit is contained in:
@@ -7,11 +7,12 @@ import Logging
|
||||
@_spi(Internal)
|
||||
public extension Logger.Level {
|
||||
|
||||
init(verbose: Bool) {
|
||||
if verbose {
|
||||
self = .debug
|
||||
} else {
|
||||
self = .info
|
||||
init(verbose: Int) {
|
||||
switch verbose {
|
||||
case 1: self = .warning
|
||||
case 2: self = .debug
|
||||
case 3...: self = .trace
|
||||
default: self = .info
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user