From ef29334a41b92b9bd05eac3ee9cffb810c5d6533 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Wed, 2 Oct 2019 11:18:52 -0500 Subject: [PATCH] Use os_log() instead of NSLog() --- Mac/MainWindow/Timeline/TimelineViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mac/MainWindow/Timeline/TimelineViewController.swift b/Mac/MainWindow/Timeline/TimelineViewController.swift index 215a608c2..4684058ef 100644 --- a/Mac/MainWindow/Timeline/TimelineViewController.swift +++ b/Mac/MainWindow/Timeline/TimelineViewController.swift @@ -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 []