Skip to content

Commit

Permalink
Merge pull request #3 from ActuallyTaylor/debug-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ActuallyTaylor authored Dec 14, 2023
2 parents 2153f29 + bcb39bc commit 01493a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/HydrogenReporter/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ public class Logger: ObservableObject {
appendLog(log: item, description: desc)
os_log(.info, "%{public}s", desc)
case .debug:
#if DEBUG
let desc = item.description
appendLog(log: item, description: desc)
os_log(.debug, "%{public}s", desc)
#endif
}
}

Expand Down

0 comments on commit 01493a8

Please sign in to comment.