The QXmppLogger class represents a sink for logging messages.
More...
#include <QXmppLogger.h>
Inherits QObject.
The QXmppLogger class represents a sink for logging messages.
QXmppLogger::QXmppLogger |
( |
QObject * |
parent = 0 | ) |
|
Returns the default logger.
Add a logging message.
- Parameters
-
void QXmppLogger::reopen |
( |
| ) |
|
|
slot |
If logging to a file, causes the file to be re-opened.
void QXmppLogger::setGauge |
( |
const QString & |
gauge, |
|
|
double |
value |
|
) |
| |
|
virtualslot |
Sets the given gauge to value.
NOTE: the base implementation does nothing.
void QXmppLogger::setLogFilePath |
( |
const QString & |
path | ) |
|
Sets the path to which logging messages should be written.
- Parameters
-
- See also
- setLoggingType()
Sets the handler for logging messages.
- Parameters
-
void QXmppLogger::setMessageTypes |
( |
QXmppLogger::MessageTypes |
types | ) |
|
Sets the types of messages to log.
- Parameters
-
void QXmppLogger::updateCounter |
( |
const QString & |
counter, |
|
|
qint64 |
amount |
|
) |
| |
|
virtualslot |
Updates the given counter by amount.
NOTE: the base implementation does nothing.
QString QXmppLogger::logFilePath |
|
readwrite |
Returns the path to which logging messages should be written.
- See also
- loggingType()
Returns the handler for logging messages.
QXmppLogger::MessageTypes QXmppLogger::messageTypes |
|
readwrite |
Returns the types of messages to log.
The documentation for this class was generated from the following files: