Swift日志打印

来源:互联网 发布:js鞋子是什么牌子 编辑:程序博客网 时间:2024/06/05 17:02

public func BMLog(message: T, file: String = FILE, method: String = FUNCTION,line: Int = LINE) {
#if DEBUG
print(“((file as NSString).lastPathComponent)[line:(line)], (method): (message)”)
#endif
}

0 0
原创粉丝点击