aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib/log.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/UnrarXLib/log.hpp')
-rw-r--r--lib/UnrarXLib/log.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/UnrarXLib/log.hpp b/lib/UnrarXLib/log.hpp
new file mode 100644
index 0000000000..52d6b8d56d
--- /dev/null
+++ b/lib/UnrarXLib/log.hpp
@@ -0,0 +1,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