summaryrefslogtreecommitdiffstats
path: root/libcsoap/csoaplog.h
diff options
context:
space:
mode:
authorGravatar snowdrop2003-11-12 13:22:58 +0000
committerGravatar snowdrop2003-11-12 13:22:58 +0000
commit15d326912818f8b5080584a5d6a2f4e9d2acfcaa (patch)
tree68d703d9fa6084c011a801de155ec2e88828ff03 /libcsoap/csoaplog.h
parent04a5ded5af30359ac7fc764d3cc9f9d0176ad81b (diff)
downloadcsoap-15d326912818f8b5080584a5d6a2f4e9d2acfcaa.tar.gz
csoap-15d326912818f8b5080584a5d6a2f4e9d2acfcaa.tar.bz2
moved from src/
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
+