Log4Qt::LoggerRepository Class Reference

The class LoggerRepository is abstract base class for a logger repository. More...

#include <loggerrepository.h>

Inheritance diagram for Log4Qt::LoggerRepository:

Log4Qt::Hierarchy

List of all members.

Public Member Functions

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

Friends

QDebug operator<< (QDebug debug, const LoggerRepository &rLoggerRepository)

Related Functions

(Note that these are not member functions.)

virtual QDebug debug (QDebug &rDebug) const =0


Detailed Description

The class LoggerRepository is abstract base class for a logger repository.

Member Function Documentation

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

Implemented in Log4Qt::Hierarchy.

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

Implemented in Log4Qt::Hierarchy.

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

Implemented in Log4Qt::Hierarchy.

virtual Logger* Log4Qt::LoggerRepository::rootLogger (  )  const [pure virtual]

Implemented in Log4Qt::Hierarchy.

virtual Level Log4Qt::LoggerRepository::threshold (  )  const [pure virtual]

Implemented in Log4Qt::Hierarchy.

virtual void Log4Qt::LoggerRepository::setThreshold ( Level  level  )  [pure virtual]

Implemented in Log4Qt::Hierarchy.

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

Implemented in Log4Qt::Hierarchy.

virtual bool Log4Qt::LoggerRepository::isDisabled ( Level  level  )  [pure virtual]

Implemented in Log4Qt::Hierarchy.

virtual void Log4Qt::LoggerRepository::resetConfiguration (  )  [pure virtual]

Implemented in Log4Qt::Hierarchy.

virtual void Log4Qt::LoggerRepository::shutdown (  )  [pure virtual]

Implemented in Log4Qt::Hierarchy.


Friends And Related Function Documentation

virtual QDebug debug ( QDebug &  rDebug  )  const [related]

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

The member function is used by QDebug operator<<(QDebug debug, const LoggerRepository &rLoggerRepository) to generate class specific output.

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

Implemented in Log4Qt::Hierarchy.

QDebug operator<< ( QDebug  debug,
const LoggerRepository rLoggerRepository 
) [friend]

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

To handle subclassing the function uses the virtual member function debug(). This allows each class to generate its own output.

See also:
QDebug, debug()


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