axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r744005 - /webservices/axis/trunk/c/src/common/AxisTrace.h
Date Fri, 13 Feb 2009 06:13:44 GMT
Author: nadiramra
Date: Fri Feb 13 06:13:44 2009
New Revision: 744005

URL: http://svn.apache.org/viewvc?rev=744005&view=rev
Log:
tracing macros...

Modified:
    webservices/axis/trunk/c/src/common/AxisTrace.h

Modified: webservices/axis/trunk/c/src/common/AxisTrace.h
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/common/AxisTrace.h?rev=744005&r1=744004&r2=744005&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/common/AxisTrace.h (original)
+++ webservices/axis/trunk/c/src/common/AxisTrace.h Fri Feb 13 06:13:44 2009
@@ -274,6 +274,13 @@
   } \
 }
 
+#define logThrowExceptionNoExit(lException) \
+{ \
+  if (loggingEnabled) { \
+      AxisTrace::writeTrace(logComponent, TRACE_TYPE_EXCEPT, logFunctionName, __LINE__, __FILE__,
lException); \
+  } \
+}
+
 #define logThrowExceptionWithData(lException, lExceptionMessage) \
 { \
   if (loggingEnabled) { \
@@ -282,6 +289,14 @@
   } \
 }
 
+#define logThrowExceptionWithDataNoExit(lException, lExceptionMessage) \
+{ \
+  if (loggingEnabled) { \
+      AxisTrace::writeTrace(logComponent, TRACE_TYPE_EXCEPT, logFunctionName, __LINE__, __FILE__,
"%s: %s", lException, lExceptionMessage); \
+  } \
+}
+
+
 #define logRethrowException() \
 { \
   if (loggingEnabled) { \



Mime
View raw message