summaryrefslogtreecommitdiffstats
path: root/src/csoaplog.h
blob: 6d7edb636aec43f01d68323de49fcfd8e816dcc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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