diff options
author | snowdrop | 2004-02-03 08:07:35 +0000 |
---|---|---|
committer | snowdrop | 2004-02-03 08:07:35 +0000 |
commit | 65949d1c0eebfb52a1c860a2fc5acb2df7e8c299 (patch) | |
tree | ea5395d48dc9c90dbbe1195fa341ff287a51f2e1 /libcsoap/csoaplog.c | |
parent | 977f0fdf9834f391a62f74a67960e8e301c914bb (diff) | |
download | csoap-65949d1c0eebfb52a1c860a2fc5acb2df7e8c299.tar.gz csoap-65949d1c0eebfb52a1c860a2fc5acb2df7e8c299.tar.bz2 |
develop
Diffstat (limited to 'libcsoap/csoaplog.c')
-rw-r--r-- | libcsoap/csoaplog.c | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/libcsoap/csoaplog.c b/libcsoap/csoaplog.c deleted file mode 100644 index 2bc78e2..0000000 --- a/libcsoap/csoaplog.c +++ /dev/null @@ -1,66 +0,0 @@ -#include "libcsoap/csoaplog.h" - -#include <stdarg.h> -#include <stdio.h> - -static -void _SoapLogWrite(SoapLogLevel level, - const char* function, - const char* format, - va_list ap) -{ - /* - char buffer[1054]; - char buffer2[1054]; - sprintf(buffer, "[%s] [%d] %s\n", function, level, format); - vsprintf(buffer2, buffer, ap); - printf(buffer2); - fflush(stdout); - */ -} - - -void SoapTraceEnter(const char* function, - const char* format, ...) -{ - va_list ap; - - va_start(ap, format); - _SoapLogWrite(LOG_TRACE, function, format, ap); - va_end(ap); -} - - -void SoapTraceLeave(const char* function, - const char* format, ...) -{ - va_list ap; - - va_start(ap, format); - _SoapLogWrite(LOG_TRACE, function, format, ap); - va_end(ap); -} - - -void SoapTraceLeaveWithError(const char* function, - const char* format, ...) -{ - va_list ap; - - va_start(ap, format); - _SoapLogWrite(LOG_ERROR, function, format, ap); - va_end(ap); -} - - -void SoapLog(SoapLogLevel level, const char* function, - const char* format, ...) -{ - va_list ap; - - va_start(ap, format); - _SoapLogWrite(level, function, format, ap); - va_end(ap); -} - - |