2014年4月14日
摘要: 在项目中我们往往需要打印行号,文件名,函数名等信息到log中,这里介绍一种方法#define logPrint(file, format, ...) \ do { \FILE*OTAfp = NULL;\time_t timer;\struct tm *timeInfo;\timer = time(... 阅读全文
posted @ 2014-04-14 16:13 __zc__Linux__ 阅读(1020) 评论(0) 推荐(0) 编辑