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 ha...@apache.org on 2006/03/08 19:03:25 UTC
svn commit: r384289 - /webservices/axis/trunk/c/src/common/AxisTrace.h
Author: hawkeye
Date: Wed Mar 8 10:03:20 2006
New Revision: 384289
URL: http://svn.apache.org/viewcvs?rev=384289&view=rev
Log:
Trace has not been #defined for a long time - it's a run-time flag.
Modified:
webservices/axis/trunk/c/src/common/AxisTrace.h
Modified: webservices/axis/trunk/c/src/common/AxisTrace.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/common/AxisTrace.h?rev=384289&r1=384288&r2=384289&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/common/AxisTrace.h (original)
+++ webservices/axis/trunk/c/src/common/AxisTrace.h Wed Mar 8 10:03:20 2006
@@ -31,15 +31,10 @@
#include <stdio.h>
#include <stdarg.h>
-#if defined(ENABLE_AXISTRACE)
+// Trace only gets traced if the runtime flag is on
#define AXISTRACE1(X, L) AxisTrace::logaxis(X,NULL,"W",__FILE__,__LINE__);
#define AXISTRACE2(X, Y, L) AxisTrace::logaxis(X,Y,"W",__FILE__,__LINE__);
#define AXISTRACE3(X) AxisTrace::trace(X);
-#else
- #define AXISTRACE1(X,L)
- #define AXISTRACE2(X,Y,L)
- #define AXISTRACE3(X)
-#endif
/**
* @class AxisTrace