Apache Log4cxx Version 1.1.0
Loading...
Searching...
No Matches
log4cxx::spi::RootLogger Class Reference

RootLogger sits at the top of the logger hierachy. More...

#include <rootlogger.h>

Inheritance diagram for log4cxx::spi::RootLogger:
log4cxx::Logger log4cxx::spi::AppenderAttachable log4cxx::helpers::Object

Public Member Functions

 RootLogger (log4cxx::helpers::Pool &pool, const LevelPtr level)
 The root logger names itself as "root".
 
 ~RootLogger ()
 
virtual const LevelPtrgetEffectiveLevel () const
 Return the assigned level value without walking the logger hierarchy.
 
void setLevel (const LevelPtr level)
 Setting a null value to the level of the root logger may have catastrophic results.
 
- Public Member Functions inherited from log4cxx::Logger
 Logger (helpers::Pool &pool, const LogString &name)
 This constructor initializes a new logger instance and sets its name.
 
 ~Logger ()
 
void addAppender (const AppenderPtr newAppender) override
 Add newAppender to the list of appenders of this Logger instance.
 
void callAppenders (const log4cxx::spi::LoggingEventPtr &event, log4cxx::helpers::Pool &p) const
 Call the appenders in the hierrachy starting at this.
 
void closeNestedAppenders ()
 Close all attached appenders implementing the AppenderAttachable interface.
 
void debug (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for DEBUG events.
 
void debug (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for DEBUG events.
 
void error (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void error (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for FATAL events.
 
void fatal (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg and location to attached appender(s) if this logger is enabled for ERROR events.
 
void fatal (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for ERROR events.
 
void forcedLog (const LevelPtr &level, const std::string &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to attached appender(s).
 
void forcedLog (const LevelPtr &level, const std::string &message) const
 Add a new logging event containing message to attached appender(s).
 
void forcedLog (const LevelPtr &level, const std::wstring &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to attached appender(s).
 
void forcedLog (const LevelPtr &level, const std::wstring &message) const
 Add a new logging event containing message to attached appender(s).
 
void forcedLog (const LevelPtr &level, const std::basic_string< UniChar > &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to attached appender(s).
 
void forcedLog (const LevelPtr &level, const std::basic_string< UniChar > &message) const
 Add a new logging event containing message to attached appender(s).
 
void forcedLog (const LevelPtr &level, const CFStringRef &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to attached appender(s).
 
void forcedLog (const LevelPtr &level, const CFStringRef &message) const
 Add a new logging event containing message to attached appender(s).
 
void forcedLogLS (const LevelPtr &level, const LogString &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to attached appender(s).
 
bool getAdditivity () const
 Get the additivity flag for this logger.
 
AppenderList getAllAppenders () const override
 Get the appenders contained in this logger as an AppenderList.
 
AppenderPtr getAppender (const LogString &name) const override
 Look for the appender named as name.
 
virtual const LevelPtrgetEffectiveLevel () const
 Starting from this logger, search the logger hierarchy for a non-null level and return it.
 
log4cxx::spi::LoggerRepositorygetLoggerRepository () const
 Return the the LoggerRepository where this Logger is attached.
 
const LogStringgetName () const
 Get the logger name.
 
void getName (std::string &name) const
 Put name of this logger into name in current encoding.
 
void getName (std::wstring &name) const
 Put name of this logger into name.
 
void getName (std::basic_string< UniChar > &name) const
 Put name of this logger into name.
 
void getName (CFStringRef &name) const
 Put name of this logger into name.
 
LoggerPtr getParent () const
 The parent of this logger.
 
const LevelPtrgetLevel () const
 The assigned Level, if any, for this logger.
 
helpers::ResourceBundlePtr getResourceBundle () const
 Return the inherited ResourceBundle for this logger.
 
void info (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
void info (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for INFO events.
 
bool isAttached (const AppenderPtr appender) const override
 Is appender attached to this logger?
 
bool isDebugEnabled () const
 Is this logger is enabled for DEBUG level logging events?
 
bool isEnabledFor (const LevelPtr &level) const
 Is this logger is enabled for logging events at level?
 
bool isInfoEnabled () const
 Is this logger is enabled for INFO level logging events?
 
bool isWarnEnabled () const
 Is this logger is enabled for WARN level logging events?
 
bool isErrorEnabled () const
 Is this logger is enabled for ERROR level logging events?
 
bool isFatalEnabled () const
 Is this logger is enabled for FATAL level logging events?
 
bool isTraceEnabled () const
 Is this logger is enabled for TRACE level logging events?
 
void l7dlog (const LevelPtr &level, const LogString &key, const log4cxx::spi::LocationInfo &locationInfo, const std::vector< LogString > &values) const
 Add a new logging event containing locationInfo and the localized message key using values for parameter substitution to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::string &key, const log4cxx::spi::LocationInfo &locationInfo) const
 Add a new logging event containing locationInfo and the localized message key to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::string &key, const log4cxx::spi::LocationInfo &locationInfo, const std::string &val) const
 Add a new logging event containing locationInfo and the localized message key using parameter val to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::string &key, const log4cxx::spi::LocationInfo &locationInfo, const std::string &val1, const std::string &val2) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1 and val2 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::string &key, const log4cxx::spi::LocationInfo &locationInfo, const std::string &val1, const std::string &val2, const std::string &val3) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1, val2 and val3 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::wstring &key, const log4cxx::spi::LocationInfo &locationInfo) const
 Add a new logging event containing locationInfo and the localized message key to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::wstring &key, const log4cxx::spi::LocationInfo &locationInfo, const std::wstring &val) const
 Add a new logging event containing locationInfo and the localized message key using parameter val to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::wstring &key, const log4cxx::spi::LocationInfo &locationInfo, const std::wstring &val1, const std::wstring &val2) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1 and val2 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::wstring &key, const log4cxx::spi::LocationInfo &locationInfo, const std::wstring &val1, const std::wstring &val2, const std::wstring &val3) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1, val2 and val3 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::basic_string< UniChar > &key, const log4cxx::spi::LocationInfo &locationInfo) const
 Add a new logging event containing locationInfo and the localized message key to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::basic_string< UniChar > &key, const log4cxx::spi::LocationInfo &locationInfo, const std::basic_string< UniChar > &val) const
 Add a new logging event containing locationInfo and the localized message key using parameter val to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::basic_string< UniChar > &key, const log4cxx::spi::LocationInfo &locationInfo, const std::basic_string< UniChar > &val1, const std::basic_string< UniChar > &val2) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1 and val2 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const std::basic_string< UniChar > &key, const log4cxx::spi::LocationInfo &locationInfo, const std::basic_string< UniChar > &val1, const std::basic_string< UniChar > &val2, const std::basic_string< UniChar > &val3) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1, val2 and val3 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const CFStringRef &key, const log4cxx::spi::LocationInfo &locationInfo) const
 Add a new logging event containing locationInfo and the localized message key to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const CFStringRef &key, const log4cxx::spi::LocationInfo &locationInfo, const CFStringRef &val1) const
 Add a new logging event containing locationInfo and the localized message key using parameter val to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const CFStringRef &key, const log4cxx::spi::LocationInfo &locationInfo, const CFStringRef &val1, const CFStringRef &val2) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1 and val2 to attached appender(s) if this logger is enabled for level events.
 
void l7dlog (const LevelPtr &level, const CFStringRef &key, const log4cxx::spi::LocationInfo &locationInfo, const CFStringRef &val1, const CFStringRef &val2, const CFStringRef &val3) const
 Add a new logging event containing locationInfo and the localized message key using parameters val1, val2 and val3 to attached appender(s) if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::string &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::string &message) const
 Add a new logging event containing message to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::wstring &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::wstring &message) const
 Add a new logging event containing message to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::basic_string< UniChar > &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const std::basic_string< UniChar > &message) const
 Add a new logging event containing message to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const CFStringRef &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to the appenders attached to this logger if this logger is enabled for level events.
 
void log (const LevelPtr &level, const CFStringRef &message) const
 Add a new logging event containing message to the appenders attached to this logger if this logger is enabled for level events.
 
void logLS (const LevelPtr &level, const LogString &message, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing message and location to the appenders attached to this logger if this logger is enabled for level events.
 
void removeAllAppenders () override
 Remove all previously added appenders from this logger instance.
 
void removeAppender (const AppenderPtr appender) override
 Remove the appender passed as parameter form the list of appenders.
 
void removeAppender (const LogString &name) override
 Remove the appender with the name passed as parameter form the list of appenders.
 
void setAdditivity (bool additive)
 Set the additivity flag for this logger.
 
virtual void setLevel (const LevelPtr level)
 Set the level of this logger.
 
void setResourceBundle (const helpers::ResourceBundlePtr &bundle)
 Set the resource bundle to be used with localized logging methods.
 
void warn (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void warn (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for WARN events.
 
void trace (const std::wstring &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const std::wstring &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const std::basic_string< UniChar > &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const std::basic_string< UniChar > &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const CFStringRef &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const CFStringRef &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const std::string &msg, const log4cxx::spi::LocationInfo &location) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void trace (const std::string &msg) const
 Add a new logging event containing msg to attached appender(s) if this logger is enabled for TRACE events.
 
void reconfigure (const std::vector< AppenderPtr > &appenders, bool additivity)
 Reconfigure this logger by configuring all of the appenders.
 
- Public Member Functions inherited from log4cxx::spi::AppenderAttachable
virtual void addAppender (const AppenderPtr newAppender)=0
 Add an appender.
 
virtual AppenderList getAllAppenders () const =0
 Get all previously added appenders as an AppenderList.
 
virtual AppenderPtr getAppender (const LogString &name) const =0
 Get an appender by name.
 
virtual bool isAttached (const AppenderPtr appender) const =0
 Returns true if the specified appender is in list of attached appenders, false otherwise.
 
virtual void removeAllAppenders ()=0
 Remove all previously added appenders.
 
virtual void removeAppender (const AppenderPtr appender)=0
 Remove the appender passed as parameter from the list of appenders.
 
virtual void removeAppender (const LogString &name)=0
 Remove the appender with the name passed as parameter from the list of appenders.
 
virtual ~AppenderAttachable ()
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from log4cxx::Logger
static LoggerPtr getLogger (const std::string &name)
 Retrieve a logger by name in current encoding.
 
static LoggerPtr getLogger (const char *const name)
 Retrieve a logger by name in current encoding.
 
static LoggerPtr getLogger (const std::wstring &name)
 Retrieve a logger by name.
 
static LoggerPtr getLogger (const wchar_t *const name)
 Retrieve a logger by name.
 
static LoggerPtr getLogger (const std::basic_string< UniChar > &name)
 Retrieve a logger by name.
 
static LoggerPtr getLogger (const CFStringRef &name)
 Retrieve a logger by name.
 
static LoggerPtr getLoggerLS (const LogString &name)
 Retrieve a logger by name in Unicode.
 
static LoggerPtr getRootLogger ()
 Retrieve the root logger.
 
static LoggerPtr getLoggerLS (const LogString &name, const log4cxx::spi::LoggerFactoryPtr &factory)
 Like getLogger except that the type of logger instantiated depends on the type returned by the LoggerFactory::makeNewLoggerInstance method of the factory parameter.
 
static LoggerPtr getLogger (const std::string &name, const log4cxx::spi::LoggerFactoryPtr &factory)
 Like getLogger except that the type of logger instantiated depends on the type returned by the LoggerFactory::makeNewLoggerInstance method of the factory parameter.
 
static LoggerPtr getLogger (const std::wstring &name, const log4cxx::spi::LoggerFactoryPtr &factory)
 Like getLogger except that the type of logger instantiated depends on the type returned by the LoggerFactory::makeNewLoggerInstance method of the factory parameter.
 
static LoggerPtr getLogger (const std::basic_string< UniChar > &name, const log4cxx::spi::LoggerFactoryPtr &factory)
 Like getLogger except that the type of logger instantiated depends on the type returned by the LoggerFactory::makeNewLoggerInstance method of the factory parameter.
 
static LoggerPtr getLogger (const CFStringRef &name, const log4cxx::spi::LoggerFactoryPtr &factory)
 Like getLogger except that the type of logger instantiated depends on the type returned by the LoggerFactory::makeNewLoggerInstance method of the factory parameter.
 
static bool isDebugEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for DEBUG level logging events?
 
static bool isInfoEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for INFO level logging events?
 
static bool isWarnEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for WARN level logging events?
 
static bool isErrorEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for ERROR level logging events?
 
static bool isFatalEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for FATAL level logging events?
 
static bool isTraceEnabledFor (const LoggerPtr &logger)
 Is logger is enabled for TRACE level logging events?
 
- Protected Member Functions inherited from log4cxx::Logger
LogString getResourceBundleString (const LogString &key) const
 Returns the string resource corresponding to key in this logger's inherited resource bundle.
 
void removeHierarchy ()
 Only the Hierarchy class can remove the hierarchy of a logger.
 
void setHierarchy (spi::LoggerRepository *repository)
 Only the Hierarchy class can set the hierarchy of a logger.
 
void setParent (LoggerPtr parentLogger)
 Only the Hierarchy class can set the parent of a logger.
 
void updateThreshold ()
 Only the Hierarchy class can change the threshold of a logger.
 

Detailed Description

RootLogger sits at the top of the logger hierachy.

It is a regular logger except that it provides several guarantees.

First, it cannot be assigned a null level. Second, since root logger cannot have a parent, the getEffectiveLevel method always returns the value of the level field without walking the hierarchy.

Constructor & Destructor Documentation

◆ RootLogger()

log4cxx::spi::RootLogger::RootLogger ( log4cxx::helpers::Pool pool,
const LevelPtr  level 
)

The root logger names itself as "root".

However, the root logger cannot be retrieved by name.

◆ ~RootLogger()

log4cxx::spi::RootLogger::~RootLogger ( )
inline

Member Function Documentation

◆ getEffectiveLevel()

virtual const LevelPtr & log4cxx::spi::RootLogger::getEffectiveLevel ( ) const
virtual

Return the assigned level value without walking the logger hierarchy.

Reimplemented from log4cxx::Logger.

◆ setLevel()

void log4cxx::spi::RootLogger::setLevel ( const LevelPtr  level)
virtual

Setting a null value to the level of the root logger may have catastrophic results.

We prevent this here.

Reimplemented from log4cxx::Logger.


The documentation for this class was generated from the following file: