Skip to content

Instantly share code, notes, and snippets.

@loganwright
Created July 28, 2015 23:56
Show Gist options
  • Save loganwright/85f56047e9a724a5b496 to your computer and use it in GitHub Desktop.
Save loganwright/85f56047e9a724a5b496 to your computer and use it in GitHub Desktop.
Swift Logging
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