Log4Qt::Hierarchy Class Reference

The class Hierarchy implements a logger repository. More...

#include <hierarchy.h>

Inheritance diagram for Log4Qt::Hierarchy:

Log4Qt::LoggerRepository

List of all members.

Public Member Functions

 Hierarchy ()
virtual ~Hierarchy ()
virtual bool exists (const QString &rName) const
virtual Loggerlogger (const QString &rName)
virtual QList< Logger * > loggers () const
virtual LoggerrootLogger () const
virtual Level threshold () const
virtual void setThreshold (Level level)
virtual void setThreshold (const QString &rThreshold)
virtual bool isDisabled (Level level)
virtual void resetConfiguration ()
virtual void shutdown ()

Protected Member Functions

virtual QDebug debug (QDebug &rdebug) const


Detailed Description

The class Hierarchy implements a logger repository.

Note:
All the functions declared in this class are thread-safe.

Constructor & Destructor Documentation

Log4Qt::Hierarchy::Hierarchy (  ) 

virtual Log4Qt::Hierarchy::~Hierarchy (  )  [virtual]


Member Function Documentation

virtual bool Log4Qt::Hierarchy::exists ( const QString &  rName  )  const [virtual]

virtual Logger* Log4Qt::Hierarchy::logger ( const QString &  rName  )  [virtual]

virtual QList<Logger *> Log4Qt::Hierarchy::loggers (  )  const [virtual]

Logger * Log4Qt::Hierarchy::rootLogger (  )  const [inline, virtual]

Level Log4Qt::Hierarchy::threshold (  )  const [inline, virtual]

void Log4Qt::Hierarchy::setThreshold ( Level  level  )  [inline, virtual]

virtual void Log4Qt::Hierarchy::setThreshold ( const QString &  rThreshold  )  [virtual]

bool Log4Qt::Hierarchy::isDisabled ( Level  level  )  [inline, virtual]

virtual void Log4Qt::Hierarchy::resetConfiguration (  )  [virtual]

virtual void Log4Qt::Hierarchy::shutdown (  )  [virtual]

virtual QDebug Log4Qt::Hierarchy::debug ( QDebug &  rdebug  )  const [protected, virtual]

Writes all object member variables to the given debug stream rDebug and returns the stream.

Hierarchy(loggers:6 threshold:"ALL" root-level:"DEBUG" root-appenders:0)

See also:
QDebug, operator<<(QDebug debug, const LoggerRepository &rLoggerRepository)

Implements Log4Qt::LoggerRepository.


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

Generated on Sun Mar 1 16:40:46 2009 for Log4Qt by  doxygen 1.5.6