Apache Log4cxx Version 1.0.0
Loading...
Searching...
No Matches
log4cxx::qt Namespace Reference

Classes

class  Configuration
 

Functions

void messageHandler (QtMsgType type, const QMessageLogContext &context, const QString &message)
 The messageHandler function is a log4cxx replacement of the standard Qt message handler.
 

Function Documentation

◆ messageHandler()

void log4cxx::qt::messageHandler ( QtMsgType  type,
const QMessageLogContext &  context,
const QString &  message 
)

The messageHandler function is a log4cxx replacement of the standard Qt message handler.

Use this function as follows: qInstallMessageHandler( log4cxx::qt::messageHandler );

Note that similar to Qt, upon receipt of a fatal message this calls std::abort().