Home · Modules · Classes · Namespaces · Functions

QxtLoggerEngine Class Reference
[QxtCore module]

The QxtLoggerEngine class is the parent class of all extended Engine Plugins. More...

    #include <QxtLoggerEngine>

Inherited by QxtAbstractIOLoggerEngine and QxtBasicSTDLoggerEngine.

Public Functions


Detailed Description

The QxtLoggerEngine class is the parent class of all extended Engine Plugins.

Overview

QxtLoggerEngine is what gives the QxtLogger it's power. While the Logger itself manages memory, logic, and log levels, it is the various Engine Plugins that do the actual work of logging the data.


Member Function Documentation

QxtLoggerEngine::QxtLoggerEngine ()

Constructor

QxtLoggerEngine::~QxtLoggerEngine ()   [virtual]

Destructor

void QxtLoggerEngine::disableLogLevels ( QxtLogger::LogLevels levels )

Disables log levels.

void QxtLoggerEngine::disableLogging ()

Disables logging.

void QxtLoggerEngine::enableLogLevels ( QxtLogger::LogLevels levels )

Enables log levels.

void QxtLoggerEngine::enableLogging ()

Enables logging.

void QxtLoggerEngine::initLoggerEngine ()   [pure virtual]

Initializes the logger engine.

This function is called by QxtLogger. Reimplement this function when creating a subclass of QxtLoggerEngine.

bool QxtLoggerEngine::isInitialized () const   [pure virtual]

Returns true if the logger engine is initialized.

This function is called by QxtLogger. Reimplement this function when creating a subclass of QxtLoggerEngine.

bool QxtLoggerEngine::isLogLevelEnabled ( QxtLogger::LogLevel level ) const

Returns true if log level is enabled and false otherwise.

bool QxtLoggerEngine::isLoggingEnabled () const

Returns true if logging is enabled and false otherwise.

void QxtLoggerEngine::killLoggerEngine ()   [pure virtual]

Kills the logger engine.

This function is called by QxtLogger. Reimplement this function when creating a subclass of QxtLoggerEngine.

void QxtLoggerEngine::setLogLevelsEnabled ( QxtLogger::LogLevels levels, bool enable = true )   [virtual]

Sets log levels enabled if enable is true, or disabled otherwise.

void QxtLoggerEngine::setLoggingEnabled ( bool enable = true )   [virtual]

Sets logging enabled if enable is true, or disabled otherwise.

See also isLoggingEnabled().

void QxtLoggerEngine::writeFormatted ( QxtLogger::LogLevel level, const QList<QVariant> & messages )   [pure virtual]

Writes formatted messages with given level.

This function is called by QxtLogger. Reimplement this function when creating a subclass of QxtLoggerEngine.


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1