1 #ifndef _RAR_LOG_ 2 #define _RAR_LOG_ 3 4 void InitLogOptions(char *LogName); 5 6 #ifndef SILENT 7 void Log(const char *ArcName,const char *Format,...); 8 #endif 9 10 #ifdef SILENT 11 #ifdef __GNUC__ 12 #define Log(args...) 13 #else Log(const char * a,const char * b,const char * c=NULL,const char * d=NULL)14inline void Log(const char *a,const char *b,const char *c=NULL,const char *d=NULL) {} 15 #endif 16 #endif 17 18 #endif 19