diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-19 09:32:58 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-19 09:32:58 +0000 |
| commit | 9d18830ee2a6b7bca3ceb8aad9c0f0753774f153 (patch) | |
| tree | 5a4dbce282838cc5a498237beb2f4f3bc4aa78dc /source/QXmppLogger.h | |
| parent | 3219e12750f46d693375f682136fc364fa99a92e (diff) | |
| download | qxmpp-9d18830ee2a6b7bca3ceb8aad9c0f0753774f153.tar.gz | |
Better QXmppLogger::LoggingType enums and obsoleted the older ones
Diffstat (limited to 'source/QXmppLogger.h')
| -rw-r--r-- | source/QXmppLogger.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/QXmppLogger.h b/source/QXmppLogger.h index 0629e1fe..1526e657 100644 --- a/source/QXmppLogger.h +++ b/source/QXmppLogger.h @@ -34,10 +34,14 @@ class QXmppLogger : public QObject public: enum LoggingType { - NONE = 0, ///< Log messages are discarded - FILE, ///< Log messages are written to a file - STDOUT, ///< Log messages are written to the standard output - SIGNAL, ///< Log messages are emitted as a signal + NONE = 0, ///< DEPRECATED Log messages are discarded + FILE, ///< DEPRECATED Log messages are written to a file + STDOUT, ///< DEPRECATED Log messages are written to the standard output + + NoLogging = 0, ///< Log messages are discarded + FileLogging, ///< Log messages are written to a file + StdoutLogging, ///< Log messages are written to the standard output + SignalLogging ///< Log messages are emitted as a signal }; enum MessageType |
