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日志打印
最新推荐文章于 2024-05-16 10:07:39 发布
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
}