#include <classlogger.h>
Public Member Functions | |
| ClassLogger () | |
| Logger * | logger (const QObject *pObject) |
The class ClassLogger provides a logger for a specified QObject derived object. It is used by LOG4QT_DECLARE_QCLASS_LOGGER to implement the member functions provided by the macro.
| Log4Qt::ClassLogger::ClassLogger | ( | ) |
Creates a ClassLogger object.
| Logger* Log4Qt::ClassLogger::logger | ( | const QObject * | pObject | ) |
Returns a pointer to a Logger named after the class of the object pObject.
On the first invocation the Logger is requested by a call to LogManager::logger(const char *pName). The pointer is stored to be returned on subsequent invocations.
Referenced by Log4Qt::LogObject::logger().
1.5.6