axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r804874 - /webservices/axis2/trunk/c/util/include/axutil_log.h
Date Mon, 17 Aug 2009 06:33:43 GMT
Author: shankar
Date: Mon Aug 17 06:33:43 2009
New Revision: 804874

URL: http://svn.apache.org/viewvc?rev=804874&view=rev
Log:
Adding a new macro to control logging information

Modified:
    webservices/axis2/trunk/c/util/include/axutil_log.h

Modified: webservices/axis2/trunk/c/util/include/axutil_log.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_log.h?rev=804874&r1=804873&r2=804874&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_log.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_log.h Mon Aug 17 06:33:43 2009
@@ -247,6 +247,9 @@
 #define AXIS2_LOG_CRITICAL_MSG(log, msg) AXIS2_LOG_CRITICAL (log, AXIS2_LOG_SI, "%s %s",
AXIS2_LOG_PROJECT_PREFIX, msg)
 #define AXIS2_LOG_TRACE_MSG(log, msg) AXIS2_LOG_TRACE (log, AXIS2_LOG_SI, "%s %s", AXIS2_LOG_PROJECT_PREFIX,
msg)
 
+
+#define IF_AXIS2_LOG_DEBUG_ENABLED(log) if(AXIS2_LOG_LEVEL_DEBUG <= log->level &&
log->level != AXIS2_LOG_LEVEL_USER)
+
     /** @} */
 
 #ifdef __cplusplus



Mime
View raw message