mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
more options,help message
This commit is contained in:
4
log.cpp
4
log.cpp
@@ -4,8 +4,8 @@ int log_level=log_info;
|
||||
|
||||
int enable_log_position=1;
|
||||
int enable_log_color=1;
|
||||
char log_text[][20]={"NEVER","FATAL","ERROR","WARN","INFO","DEBUG","TRACE",""};
|
||||
char log_color[][20]={RED,RED,RED,YEL,GRN,BLU,""};
|
||||
|
||||
|
||||
void log0(const char * file,const char * function,int line,int level,const char* str, ...) {
|
||||
|
||||
if(level>log_level) return ;
|
||||
|
Reference in New Issue
Block a user