Guest User

Untitled

a guest
Jan 17th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. func log<T>(_ object: @autoclosure() -> T,
  2. file: String = #file,
  3. line: Int = #line) {
  4. #if DEBUG
  5. print("[\(file):\(line)] \(object())")
  6. #endif
  7. }
Add Comment
Please, Sign In to add comment