19#include <boost/shared_ptr.hpp>
20#include <boost/noncopyable.hpp>
23#include <log4cplus/logger.h>
136 return (logger_.isEnabledFor(log4cplus::INFO_LOG_LEVEL));
141 return (logger_.isEnabledFor(log4cplus::WARN_LOG_LEVEL));
146 return (logger_.isEnabledFor(log4cplus::ERROR_LOG_LEVEL));
151 return (logger_.isEnabledFor(log4cplus::FATAL_LOG_LEVEL));
187 return (name_ == other.name_);
192 log4cplus::Logger logger_;
Console Logger Implementation.
bool operator==(const LoggerImpl &other)
Equality.
void outputRaw(const Severity &severity, const std::string &message)
Raw output.
virtual int getEffectiveDebugLevel()
Return effective debug level.
virtual void setSeverity(Severity severity, int dbglevel=1)
Set Severity Level for Logger.
boost::shared_ptr< std::string > lookupMessage(const MessageID &id)
Look up message text in dictionary.
virtual bool isWarnEnabled()
Is WARNING Enabled?
virtual ~LoggerImpl()
Destructor.
void setInterprocessSync(isc::log::interprocess::InterprocessSync *sync)
Replace the interprocess synchronization object.
virtual Severity getEffectiveSeverity()
Get Effective Severity Level for Logger.
virtual int getDebugLevel()
Return debug level.
virtual bool isInfoEnabled()
Is INFO Enabled?
virtual Severity getSeverity()
Get Severity Level for Logger.
virtual std::string getName()
Get the full name of the logger (including the root name)
static std::string getVersion()
Version.
virtual bool isErrorEnabled()
Is ERROR Enabled?
virtual bool isFatalEnabled()
Is FATAL Enabled?
virtual bool isDebugEnabled(int dbglevel=MIN_DEBUG_LEVEL)
Returns if Debug Message Should Be Output.
static log4cplus::LogLevel convertFromBindLevel(const isc::log::Level &level)
Convert Kea level to log4cplus logging level.
const int MIN_DEBUG_LEVEL
Minimum/maximum debug levels.
Defines the logger used by the top-level component of kea-lfc.