mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 12:27:32 +01:00
Print .debug messages only to console.
This commit is contained in:
parent
cfaa6c1972
commit
2c2c005798
@ -76,7 +76,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||
func logMessage(_ message: String, type: LogItem.ItemType) {
|
||||
|
||||
#if DEBUG
|
||||
if type == .debug {
|
||||
print("logMessage: \(message) - \(type)")
|
||||
}
|
||||
#endif
|
||||
|
||||
let logItem = LogItem(type: type, message: message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user