Log4Qt::PropertyConfigurator Class Reference

The class PropertyConfigurator allows the configuration of the package from a JAVA properties file. More...

#include <propertyconfigurator.h>

List of all members.

Public Member Functions

 PropertyConfigurator ()
bool doConfigure (const Properties &rProperties, LoggerRepository *pLoggerRepository=0)
bool doConfigure (const QString &rConfigFileName, LoggerRepository *pLoggerRepository=0)
bool doConfigure (const QSettings &rSettings, LoggerRepository *pLoggerRepository=0)

Static Public Member Functions

static bool configure (const Properties &rProperties)
static bool configure (const QString &rConfigFilename)
static bool configure (const QSettings &rSettings)
static bool configureAndWatch (const QString &rConfigFilename)

Related Functions

(Note that these are not member functions.)

QDebug operator<< (QDebug debug, const PropertyConfigurator &rPropertyConfigurator)


Detailed Description

The class PropertyConfigurator allows the configuration of the package from a JAVA properties file.

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

Constructor & Destructor Documentation

Log4Qt::PropertyConfigurator::PropertyConfigurator (  )  [inline]


Member Function Documentation

bool Log4Qt::PropertyConfigurator::doConfigure ( const Properties rProperties,
LoggerRepository pLoggerRepository = 0 
)

bool Log4Qt::PropertyConfigurator::doConfigure ( const QString &  rConfigFileName,
LoggerRepository pLoggerRepository = 0 
)

bool Log4Qt::PropertyConfigurator::doConfigure ( const QSettings &  rSettings,
LoggerRepository pLoggerRepository = 0 
)

Reads the configuration data from the QSettings object rSettings.

See also:
Properties::load(), ConfiguratorHelper::configureError()

static bool Log4Qt::PropertyConfigurator::configure ( const Properties rProperties  )  [static]

static bool Log4Qt::PropertyConfigurator::configure ( const QString &  rConfigFilename  )  [static]

static bool Log4Qt::PropertyConfigurator::configure ( const QSettings &  rSettings  )  [static]

Reads the configuration data from the QSettings object rSettings.

See also:
doConfigure(), Properties::load(), ConfiguratorHelper::configureError()

static bool Log4Qt::PropertyConfigurator::configureAndWatch ( const QString &  rConfigFilename  )  [static]


Friends And Related Function Documentation

QDebug operator<< ( QDebug  debug,
const PropertyConfigurator rPropertyConfigurator 
) [related]

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

PropertyConfigurator()

See also:
QDebug


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