Use os_log() instead of NSLog()

This commit is contained in:
Nate Weaver 2019-10-02 11:18:52 -05:00
parent f67b7df5a9
commit ef29334a41

View File

@ -10,6 +10,7 @@ import Foundation
import RSCore
import Articles
import Account
import os.log
protocol TimelineDelegate: class {
func timelineSelectionDidChange(_: TimelineViewController, selectedArticles: [Article]?)
@ -785,7 +786,7 @@ extension TimelineViewController: NSTableViewDelegate {
return [action]
@unknown default:
NSLog("Unknown table row edge: %ld", edge.rawValue)
os_log(.error, "Unknown table row edge: %ld", edge.rawValue)
}
return []