fixe log color bug

This commit is contained in:
wangyu
2017-07-28 23:24:49 +08:00
committed by wangyu
parent 18f1d995f8
commit 5369e7d7a5
2 changed files with 12 additions and 2 deletions

2
log.h
View File

@@ -76,7 +76,7 @@ const int log_trace=6;
const int log_end=7;
const char log_text[][20]={"NEVER","FATAL","ERROR","WARN","INFO","DEBUG","TRACE",""};
const char log_color[][20]={RED,RED,RED,YEL,GRN,BLU,""};
const char log_color[][20]={RED,RED,RED,YEL,GRN,MAG,""};
extern int log_level;
extern int enable_log_position;