log.hpp 334 B

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