Files
wehub-resource-sync 1d1286fadb
Build / Build and test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:18:38 +08:00

18 lines
524 B
Swift

import Foundation
import OSLog
enum PhysicalCleanModeLog {
private static let subsystem = Bundle.main.bundleIdentifier ?? "cc.ggbond.mactools"
static let plugin = Logger(subsystem: subsystem, category: "PhysicalCleanModePlugin")
static let session = Logger(subsystem: subsystem, category: "PhysicalCleanModeSession")
static var isVerboseLoggingEnabled: Bool {
#if DEBUG
ProcessInfo.processInfo.environment["MACTOOLS_VERBOSE_LOGS"] == "1"
#else
false
#endif
}
}