Created
July 28, 2015 23:56
-
-
Save loganwright/85f56047e9a724a5b496 to your computer and use it in GitHub Desktop.
Swift Logging
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
func Log(message: String, file: String = __FUNCTION__, function: String = __FILE__, line: Int = __LINE__, column: Int = __COLUMN__) { | |
println("\(file) : \(function) : \(line) : \(column) - \(message)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment