From 93adc6aec9ba4671884d9692308b239d3064e553 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sat, 21 Aug 2010 19:15:30 +0000 Subject: add doc html --- doc/html/classQXmppLogger.html | 352 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 352 insertions(+) create mode 100644 doc/html/classQXmppLogger.html (limited to 'doc/html/classQXmppLogger.html') diff --git a/doc/html/classQXmppLogger.html b/doc/html/classQXmppLogger.html new file mode 100644 index 00000000..1a81e4e2 --- /dev/null +++ b/doc/html/classQXmppLogger.html @@ -0,0 +1,352 @@ + + + + + +QXmpp: QXmppLogger Class Reference + + + + + + + + + +
+

QXmppLogger Class Reference
+ +[Core] +

+

The QXmppLogger class represents a sink for logging messages. +More...

+ +

#include <QXmppLogger.h>

+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + +

Public Types

enum  LoggingType { NoLogging = 0, +FileLogging = 1, +StdoutLogging = 2, +SignalLogging = 4 + }
 

This enum describes how log message are handled.

+ More...
enum  MessageType {
+  DebugMessage = 0, +InformationMessage, +WarningMessage, +ReceivedMessage, +
+  SentMessage +
+ }
 

This enum describes a type of log message.

+ More...

Public Slots

void log (QXmppLogger::MessageType type, const QString &text)

Signals

+void message (QXmppLogger::MessageType type, const QString &text)
 This signal is emitted whenever a log message is received.

Public Member Functions

 QXmppLogger (QObject *parent=0)
QXmppLogger::LoggingType loggingType ()
void setLoggingType (QXmppLogger::LoggingType type)
QString logFilePath ()
void setLogFilePath (const QString &path)

Static Public Member Functions

static QXmppLoggergetLogger ()
+

Detailed Description

+

The QXmppLogger class represents a sink for logging messages.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum QXmppLogger::LoggingType
+
+
+ +

This enum describes how log message are handled.

+
Enumerator:
+ + + + +
NoLogging  +

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 QXmppLogger::MessageType
+
+
+ +

This enum describes a type of log message.

+
Enumerator:
+ + + + + +
DebugMessage  +

Debugging message.

+
InformationMessage  +

Informational message.

+
WarningMessage  +

Warning message.

+
ReceivedMessage  +

Message received from server.

+
SentMessage  +

Message sent to server.

+
+
+
+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
QXmppLogger::QXmppLogger (QObject *  parent = 0 ) 
+
+
+

Constructs a new QXmppLogger.

+
Parameters:
+ + +
parent 
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
QXmppLogger * QXmppLogger::getLogger ( )  [static]
+
+
+

Returns the default logger.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void QXmppLogger::log (QXmppLogger::MessageType  type,
const QString &  text 
) [slot]
+
+
+

Add a logging message.

+
Parameters:
+ + + +
type 
text 
+
+
+ +
+
+ +
+
+ + + + + + + + +
QString QXmppLogger::logFilePath ( ) 
+
+
+

Returns the path to which logging messages should be written.

+
See also:
loggingType()
+ +
+
+ +
+
+ + + + + + + + +
QXmppLogger::LoggingType QXmppLogger::loggingType ( ) 
+
+
+

Returns the handler for logging messages.

+ +
+
+ +
+
+ + + + + + + + + +
void QXmppLogger::setLogFilePath (const QString &  path ) 
+
+
+

Sets the path to which logging messages should be written.

+
Parameters:
+ + +
path 
+
+
+
See also:
setLoggingType()
+ +
+
+ +
+
+ + + + + + + + + +
void QXmppLogger::setLoggingType (QXmppLogger::LoggingType  type ) 
+
+
+

Sets the handler for logging messages.

+
Parameters:
+ + +
type 
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ +
+ All Classes Functions Enumerations Enumerator
+ + +
+ +
+ +
Generated on Sun Aug 22 00:44:24 2010 for QXmpp by  + +doxygen 1.6.1
+ + -- cgit v1.2.3