Created
May 20, 2017 15:29
-
-
Save oNguyenVanThieu/f8d53f6f8e2e57d05e2b52061e395cf9 to your computer and use it in GitHub Desktop.
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
| import Foundation | |
| public func LOG(_ functionName: String, _ lineNumber: Int, _ items: Any) { | |
| #if DEBUG | |
| print("--> [\(functionName)][\(lineNumber)][\(Date())]: \(items)") | |
| #endif | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LOG(#function, #line, "something")