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
}
Swift日志打印
最新推荐文章于 2022-06-20 09:56:54 发布
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
}