This commit is contained in:
wangyu-
2017-09-24 03:14:08 -05:00
parent f096a510b5
commit fc05e7f080
8 changed files with 294 additions and 288 deletions

View File

@@ -1,11 +1,11 @@
#include "log.h"
#include "misc.h"
int log_level=log_info;
int enable_log_position=0;
int enable_log_color=1;
void log0(const char * file,const char * function,int line,int level,const char* str, ...) {
if(level>log_level) return ;