Created
June 25, 2019 21:09
-
-
Save hbruno/2aef9844240d73c5d68a0fd2d0b63320 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension OSLog { | |
private static var subsystem = Bundle.main.bundleIdentifier! | |
static let ui = OSLog(subsystem: subsystem, category: "UI") | |
static let network = OSLog(subsystem: subsystem, category: "Network") | |
} | |
os_log("Contact selected", log: .ui) | |
os_log("HTTP response: %@", log: .network, responseCode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment