mcatan 2004/05/09 23:49:29
Modified: include/log4cxx logger.h
. ChangeLog
Log:
Logging macros can be used without explicity declaring the use of log4cxx
namespace.
Revision Changes Path
1.21 +5 -5 logging-log4cxx/include/log4cxx/logger.h
Index: logger.h
===================================================================
RCS file: /home/cvs/logging-log4cxx/include/log4cxx/logger.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- logger.h 24 Apr 2004 06:55:01 -0000 1.20
+++ logger.h 10 May 2004 06:49:29 -0000 1.21
@@ -565,7 +565,7 @@
if (logger->isDebugEnabled()) {\
::log4cxx::StringBuffer oss; \
oss << message; \
- logger->forcedLog(Level::DEBUG, oss.str(), __FILE__, __LINE__); }}
+ logger->forcedLog(::log4cxx::Level::DEBUG, oss.str(), __FILE__,
__LINE__); }}
/**
Logs a message to a specified logger with the INFO level.
@@ -577,7 +577,7 @@
if (logger->isInfoEnabled()) {\
::log4cxx::StringBuffer oss; \
oss << message; \
- logger->forcedLog(Level::INFO, oss.str(), __FILE__, __LINE__); }}
+ logger->forcedLog(::log4cxx::Level::INFO, oss.str(), __FILE__,
__LINE__); }}
/**
Logs a message to a specified logger with the WARN level.
@@ -589,7 +589,7 @@
if (logger->isWarnEnabled()) {\
::log4cxx::StringBuffer oss; \
oss << message; \
- logger->forcedLog(Level::WARN, oss.str(), __FILE__, __LINE__); }}
+ logger->forcedLog(::log4cxx::Level::WARN, oss.str(), __FILE__,
__LINE__); }}
/**
Logs a message to a specified logger with the ERROR level.
@@ -601,7 +601,7 @@
if (logger->isErrorEnabled()) {\
::log4cxx::StringBuffer oss; \
oss << message; \
- logger->forcedLog(Level::ERROR, oss.str(), __FILE__, __LINE__); }}
+ logger->forcedLog(::log4cxx::Level::ERROR, oss.str(), __FILE__,
__LINE__); }}
/**
Logs a message to a specified logger with the FATAL level.
@@ -613,7 +613,7 @@
if (logger->isFatalEnabled()) {\
::log4cxx::StringBuffer oss; \
oss << message; \
- logger->forcedLog(Level::FATAL, oss.str(), __FILE__, __LINE__); }}
+ logger->forcedLog(::log4cxx::Level::FATAL, oss.str(), __FILE__,
__LINE__); }}
/**
Logs a localized message with no parameter.
1.29 +2 -0 logging-log4cxx/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/logging-log4cxx/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog 8 May 2004 13:05:05 -0000 1.28
+++ ChangeLog 10 May 2004 06:49:29 -0000 1.29
@@ -11,6 +11,8 @@
* Fixed segmentation fault in PropertyConfigurator.
* Port to Solaris.
* Fixed MutexException thrown while destroying RollingFileAppender.
+* Logging macros can be used without explicity declaring the use of log4cxx
+ namespace.
Version 0.9.6 (2004-04-11)
==========================