TreeFrogFramework  2.8
Public Member Functions | Public Attributes | Friends | List of all members
TLog Class Reference

#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)
 

Detailed Description

The TLog class contains log messages for web application.

Constructor & Destructor Documentation

◆ TLog() [1/2]

TLog::TLog ( )
inline

Constructor.

◆ TLog() [2/2]

TLog::TLog ( int  pri,
const QByteArray &  msg,
int  dur = 0 
)

Constructor.

Friends And Related Function Documentation

◆ operator<<

QDataStream& operator<< ( QDataStream &  out,
const TLog log 
)
friend

◆ operator>>

QDataStream& operator>> ( QDataStream &  in,
TLog log 
)
friend

Member Data Documentation

◆ duration

int TLog::duration {0}

Duration (msecs).

◆ message

QByteArray TLog::message

Message.

◆ pid

qulonglong TLog::pid {0}

PID.

◆ priority

int TLog::priority {0}

Priority.

See also
enum TLogger::Priority

◆ threadId

qulonglong TLog::threadId {0}

Thread ID.

◆ timestamp

QDateTime TLog::timestamp

Timestamp.


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