如何在调用NSLog()时在调试器控制台中禁用或隐藏时间戳。
/** LOG to see AFF_FLOW*/
func showLog(classname:String , tagName:String){
NSLog("APP_FLOW -- \(classname)--> \(tagName)")
}
答案 0 :(得分:0)
短期解决方案。
/* LOG to see AFF_FLOW*/
func showLog(classname:String , tagName:AnyObject){
print("APP_FLOW -- \(classname)--> \(tagName) \n")
}