#include <debugappender.h>
Public Member Functions | |
DebugAppender (QObject *pParent=0) | |
DebugAppender (Layout *pLayout, QObject *pParent=0) | |
virtual bool | requiresLayout () const |
Protected Member Functions | |
virtual void | append (const LoggingEvent &rEvent) |
virtual QDebug | debug (QDebug &rDebug) const |
A DebugAppender appends to the Debugger on Windows and to stderr on all other systems.
The ownership and lifetime of objects of this class are managed. See Object ownership for more details.
Log4Qt::DebugAppender::DebugAppender | ( | QObject * | pParent = 0 |
) | [inline] |
Creates a DebugAppender.
Log4Qt::DebugAppender::DebugAppender | ( | Layout * | pLayout, | |
QObject * | pParent = 0 | |||
) |
Creates a DebugAppender with the specified layout pLayout
virtual bool Log4Qt::DebugAppender::requiresLayout | ( | ) | const [virtual] |
The DebugAppended requires a layout. The function returns true.
Implements Log4Qt::Appender.
virtual void Log4Qt::DebugAppender::append | ( | const LoggingEvent & | rEvent | ) | [protected, virtual] |
Appends the specified logging event rEvent to the debug output. The output is formatted using the appender's layout.
The method is called by the AppenderSkeleton::doAppend() after it the entry conditions have been tested and it has been found that the logging event needs to be appended.
Implements Log4Qt::AppenderSkeleton.
virtual QDebug Log4Qt::DebugAppender::debug | ( | QDebug & | rDebug | ) | const [protected, virtual] |
Writes all object member variables to the given debug stream rDebug and returns the stream.
DebugAppender(name:"DA" filter:0x3bee6b8 isactive:true isclosed:false layout:"SL" referencecount:1 threshold:"NULL")
Implements Log4Qt::LogObject.