50 ELogObject(
bool installMessageHandler, QObject *parent = NULL);
58 void init(QString filePath = QString());
66 #if QT_VERSION >= 0x050000
67 static void messageHandler(QtMsgType type,
const QMessageLogContext &content,
const QString &msg);
69 static void messageHandler(QtMsgType type,
const char *msg);
73 #if QT_VERSION >= 0x050000
74 void addMessage(QtMsgType type,
const QMessageLogContext &content,
const QString msg);
76 void addMessage(QtMsgType type,
const QString msg);
80 #if QT_VERSION >= 0x050000
81 void populateMessage(QtMsgType type,
const QMessageLogContext &content,
const QString msg);
83 void populateMessage(QtMsgType type,
const QString msg);
91 #endif // ELOGOBJECT_H