summaryrefslogtreecommitdiffstats
path: root/src/log.hpp
blob: 52d6b8d56de3e85c80d44c122ec746473b2ff504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _RAR_LOG_
#define _RAR_LOG_

void InitLogOptions(char *LogName);

#ifndef SILENT
void Log(const char *ArcName,const char *Format,...);
#endif

#ifdef SILENT
#ifdef __GNUC__
#define Log(args...)
#else
inline void Log(const char *a,const char *b,const char *c=NULL,const char *d=NULL) {}
#endif
#endif

#endif