TreeFrogFramework  1.29
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)
 

Public Attributes

QDateTime timestamp
 
int priority
 
qint64 pid
 
qulonglong threadId
 
QByteArray message
 

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 
)

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

◆ message

QByteArray TLog::message

Message.

◆ pid

qint64 TLog::pid

PID.

◆ priority

int TLog::priority

Priority.

See also
enum TLogger::Priority

◆ threadId

qulonglong TLog::threadId

Thread ID.

◆ timestamp

QDateTime TLog::timestamp

Timestamp.


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