Created
October 30, 2019 11:27
-
-
Save vasilevkin/aa1dd4c3f406238f4d22967ddf35b351 to your computer and use it in GitHub Desktop.
This file contains 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
os_log("Some message to log") | |
let errorMessage: StaticString = "404 - NOT FOUND" | |
os_log(errorMessage) | |
let responseCode = "404 - NOT FOUND" | |
os_log("HTTP response: %@", responseCode) | |
let logMessage = "HTTP response: \(responseCode)" | |
os_log("%@", logMessage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment