TreeFrogFramework
2.8
|
#include <tlog.h>
Public Member Functions | |
TLog () | |
TLog (int pri, const QByteArray &msg, int dur=0) | |
Public Attributes | |
QDateTime | timestamp |
int | priority {0} |
qulonglong | pid {0} |
qulonglong | threadId {0} |
QByteArray | message |
int | duration {0} |
Friends | |
QDataStream & | operator<< (QDataStream &out, const TLog &log) |
QDataStream & | operator>> (QDataStream &in, TLog &log) |
The TLog class contains log messages for web application.
|
inline |
Constructor.
TLog::TLog | ( | int | pri, |
const QByteArray & | msg, | ||
int | dur = 0 |
||
) |
Constructor.
|
friend |
|
friend |
int TLog::duration {0} |
Duration (msecs).
QByteArray TLog::message |
Message.
qulonglong TLog::pid {0} |
PID.
int TLog::priority {0} |
Priority.
qulonglong TLog::threadId {0} |
Thread ID.
QDateTime TLog::timestamp |
Timestamp.