Skip to content

Commit

Permalink
Merge pull request #129 from giginet/log-level
Browse files Browse the repository at this point in the history
Fix log level
  • Loading branch information
giginet authored Jun 16, 2024
2 parents e4ec2e5 + fb63161 commit f332eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/scipio/CreateCommands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extension Scipio {
var platforms: [Runner.Options.Platform] = []

mutating func run() async throws {
let logLevel: Logger.Level = globalOptions.verbose ? .info : .warning
let logLevel: Logger.Level = globalOptions.verbose ? .trace : .info
LoggingSystem.bootstrap(logLevel: logLevel)

let platformSpecifier: Runner.Options.PlatformSpecifier
Expand Down
2 changes: 1 addition & 1 deletion Sources/scipio/PrepareCommands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extension Scipio {
@OptionGroup var globalOptions: GlobalOptionGroup

mutating func run() async throws {
let logLevel: Logger.Level = globalOptions.verbose ? .info : .warning
let logLevel: Logger.Level = globalOptions.verbose ? .trace : .info
LoggingSystem.bootstrap(logLevel: logLevel)

let runnerCacheMode: Runner.Options.CacheMode
Expand Down

0 comments on commit f332eb4

Please sign in to comment.