Created
November 3, 2014 17:47
-
-
Save finder39/a66cc6762a8029cea20e to your computer and use it in GitHub Desktop.
println additions
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
func dprintln<T>(object: T, function: String = __FUNCTION__, file: String = __FILE__, line: Int = __LINE__, column: Int = __COLUMN__) { | |
println("<\(file.lastPathComponent):(\(line))> \(object)") | |
} | |
func dfprintln<T>(object: T, function: String = __FUNCTION__, file: String = __FILE__, line: Int = __LINE__, column: Int = __COLUMN__) { | |
println("<\(file.lastPathComponent):\(function):(\(line))> \(object)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment