Skip to content

Commit

Permalink
Refactor around the log category
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Fernandes committed Oct 28, 2020
1 parent c8c7c9b commit 0809c26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/GCOverseer/GCOverseer+Logging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 0809c26

Please sign in to comment.