From 0809c26546d12c38ab179d6bb2cbb259b60b9aa4 Mon Sep 17 00:00:00 2001 From: Fernando Fernandes Date: Wed, 28 Oct 2020 22:18:10 +0100 Subject: [PATCH] Refactor around the log category --- Sources/GCOverseer/GCOverseer+Logging.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/GCOverseer/GCOverseer+Logging.swift b/Sources/GCOverseer/GCOverseer+Logging.swift index f33647f..f197d3b 100644 --- a/Sources/GCOverseer/GCOverseer+Logging.swift +++ b/Sources/GCOverseer/GCOverseer+Logging.swift @@ -5,8 +5,8 @@ import AppLogger /// /// Refer to: https://developer.apple.com/documentation/os/logging public enum GCOverseerLoggingCategory: String { - case gcNotification = "GCO_Notification" - case controller = "GCO_Controller" + case controller = "GCOverseer_Controller" + case notification = "GCOverseer_Notification" } // MARK: - Interface @@ -37,7 +37,7 @@ public extension GCOverseer { internal extension GCOverseer { func log(notification: Notification) { - log(information: "Received game controller notification: \(notification)", category: .gcNotification) + log(information: "Received game controller notification: \(notification)", category: .notification) } /// Logs the given `String` information via `AppLogger`.