BIND 10 trac1704, updated. be6e527b9993abff912800014f375a8a82935488 [1704] Only have fatal() as a virtual function

BIND 10 source code commits bind10-changes at lists.isc.org
Tue May 22 04:40:55 UTC 2012


The branch, trac1704 has been updated
       via  be6e527b9993abff912800014f375a8a82935488 (commit)
      from  43580bae76ddcbbcee3990c4156e5eabfd39cd87 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit be6e527b9993abff912800014f375a8a82935488
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue May 22 10:10:26 2012 +0530

    [1704] Only have fatal() as a virtual function

-----------------------------------------------------------------------

Summary of changes:
 src/lib/log/logger_impl.h |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/logger_impl.h b/src/lib/log/logger_impl.h
index 3e2a726..e13ffbf 100644
--- a/src/lib/log/logger_impl.h
+++ b/src/lib/log/logger_impl.h
@@ -40,35 +40,35 @@ public:
     LoggerWrapper(const std::string& name) : logger_(log4cplus::Logger::getInstance(name)) {
     }
 
-    virtual bool isEnabledFor(log4cplus::LogLevel level) {
+    bool isEnabledFor(log4cplus::LogLevel level) {
         return (logger_.isEnabledFor(level));
     }
 
-    virtual void setLogLevel(log4cplus::LogLevel level) {
+    void setLogLevel(log4cplus::LogLevel level) {
         logger_.setLogLevel(level);
     }
 
-    virtual log4cplus::LogLevel getLogLevel() {
+    log4cplus::LogLevel getLogLevel() {
         return (logger_.getLogLevel());
     }
 
-    virtual log4cplus::LogLevel getChainedLogLevel() {
+    log4cplus::LogLevel getChainedLogLevel() {
         return (logger_.getChainedLogLevel());
     }
 
-    virtual void debug(std::string msg) {
+    void debug(std::string msg) {
         LOG4CPLUS_DEBUG(logger_, msg);
     }
 
-    virtual void info(std::string msg) {
+    void info(std::string msg) {
         LOG4CPLUS_INFO(logger_, msg);
     }
 
-    virtual void warn(std::string msg) {
+    void warn(std::string msg) {
         LOG4CPLUS_WARN(logger_, msg);
     }
 
-    virtual void error(std::string msg) {
+    void error(std::string msg) {
         LOG4CPLUS_ERROR(logger_, msg);
     }
 



More information about the bind10-changes mailing list