summaryrefslogtreecommitdiffstats
path: root/libcsoap/csoaplog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcsoap/csoaplog.h')
-rw-r--r--libcsoap/csoaplog.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libcsoap/csoaplog.h b/libcsoap/csoaplog.h
new file mode 100644
index 0000000..6d7edb6
--- /dev/null
+++ b/libcsoap/csoaplog.h
@@ -0,0 +1,26 @@
+#ifndef CSOAP_LOG_H
+#define CSOAP_LOG_H
+
+
+typedef enum tagSoapLogLevel
+{
+ LOG_TRACE,
+ LOG_DEBUG,
+ LOG_INFO,
+ LOG_WARN,
+ LOG_ERROR
+}SoapLogLevel;
+
+void SoapTraceEnter(const char* function,
+ const char* format, ...);
+
+void SoapTraceLeave(const char* function,
+ const char* format, ...);
+void SoapTraceLeaveWithError(const char* function,
+ const char* format, ...);
+
+void SoapLog(SoapLogLevel level, const char* function,
+ const char* format, ...);
+
+#endif
+