4/20/2016

Logging in Swift

We have new keywords such as #file, #function, #line and #column in Swift 2.2, so I modified my logging function.


I can use the function in following way:


And get this output!😄

[Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)]

No comments:

Post a Comment