split to multi files

This commit is contained in:
wangyu
2017-07-29 20:32:26 +08:00
committed by wangyu
parent e32a65d5e9
commit 701eb8dbcf
9 changed files with 1707 additions and 1723 deletions

View File

@@ -23,7 +23,7 @@ void log0(const char * file,const char * function,int line,int level,const char*
printf(log_color[level]);
strftime(buffer, 100, "%Y-%m-%d %H:%M:%S", tm_info);
printf("[%s][%s]",buffer,log_text[level],file,line);
printf("[%s][%s]",buffer,log_text[level]);
if(enable_log_position)printf("[%s,func:%s,line:%d]",file,function,line);