Log4Qt::SimpleLayout Class Reference

The class SimpleLayout outputs the level and message of a logging event. More...

#include <simplelayout.h>

Inheritance diagram for Log4Qt::SimpleLayout:

Log4Qt::Layout Log4Qt::LogObject

List of all members.

Public Member Functions

 SimpleLayout (QObject *pParent=0)
virtual QString format (const LoggingEvent &rEvent)

Protected Member Functions

virtual QDebug debug (QDebug &rDebug) const


Detailed Description

The class SimpleLayout outputs the level and message of a logging event.

Note:
The ownership and lifetime of objects of this class are managed. See Object ownership for more details.

Constructor & Destructor Documentation

Log4Qt::SimpleLayout::SimpleLayout ( QObject *  pParent = 0  )  [inline]


Member Function Documentation

virtual QString Log4Qt::SimpleLayout::format ( const LoggingEvent rEvent  )  [virtual]

Implements Log4Qt::Layout.

virtual QDebug Log4Qt::SimpleLayout::debug ( QDebug &  rDebug  )  const [protected, virtual]

Writes all object member variables to the given debug stream rDebug and returns the stream.

SimpleLayout(name:"SL" referencecount:1)

See also:
QDebug, operator<<(QDebug debug, const LogObject &rLogObject)

Implements Log4Qt::LogObject.


The documentation for this class was generated from the following file:

Generated on Sun Mar 1 16:40:46 2009 for Log4Qt by  doxygen 1.5.6