You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ro...@apache.org on 2003/10/25 06:30:06 UTC
cvs commit: ws-axis/c/include/axis/common AxisTrace.h
roshan 2003/10/24 21:30:06
Modified: c/include/axis/common AxisTrace.h
Log:
added a new trace funciton
Revision Changes Path
1.3 +8 -0 ws-axis/c/include/axis/common/AxisTrace.h
Index: AxisTrace.h
===================================================================
RCS file: /home/cvs/ws-axis/c/include/axis/common/AxisTrace.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AxisTrace.h 24 Oct 2003 08:29:18 -0000 1.2
+++ AxisTrace.h 25 Oct 2003 04:30:06 -0000 1.3
@@ -71,10 +71,12 @@
#if defined(__AXISTRACE__)
#define AXISTRACE1(X) tracer.trace(X,__FILE__,__LINE__);
#define AXISTRACE2(X,Y) tracer.trace(X,Y,__FILE__,__LINE__);
+ #define AXISTRACE3(X) tracer.trace(X);
#endif
#if !defined(__AXISTRACE__)
#define AXISTRACE1(X) "";
#define AXISTRACE2(X,Y) "";
+ #define AXISTRACE3(X) "";
#endif
//extern unsigned char chEBuf[1024];
@@ -89,6 +91,12 @@
virtual ~AxisTrace();
int trace(const char* sLog, char* arg2, int arg3);
int trace(const char* sLog1, const char* sLog2, char* arg3, int arg4);
+ /**
+ * Writes the given string to the standard console.
+ * @param pchLog The given string which will be printed to the standard console.
+ * @return The status which indicates whether the operation is success (SUCCESS) or not (FAIL).
+ */
+ int trace(const char* pchLog);
int GetConfPath();
private: