Torc  0.1
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
LogItem Class Reference

Public Member Functions

void SetTime (void)
 
void SetThreadTid (void)
 

Static Public Member Functions

static LogItemCreate (const char *File, const char *Function, int Line, LogLevel Level, int Type, quint64 Mask)
 
static void Delete (LogItem *Item)
 

Public Attributes

QAtomicInt refCount
 
uint64_t threadId
 
uint32_t usec
 
int line
 
int type
 
LogLevel level
 
struct tm tm
 
const char * file
 
const char * function
 
char * threadName
 
char message [LOGLINE_MAX+1]
 
quint64 mask
 

Protected Member Functions

 LogItem (const char *File, const char *Function, int Line, LogLevel Level, int Type, quint64 Mask)
 

Detailed Description

Definition at line 68 of file torcloggingimp.cpp.

Constructor & Destructor Documentation

LogItem::LogItem ( const char *  File,
const char *  Function,
int  Line,
LogLevel  Level,
int  Type,
quint64  Mask 
)
inlineprotected

Definition at line 88 of file torcloggingimp.cpp.

Member Function Documentation

static LogItem* LogItem::Create ( const char *  File,
const char *  Function,
int  Line,
LogLevel  Level,
int  Type,
quint64  Mask 
)
inlinestatic

Definition at line 71 of file torcloggingimp.cpp.

static void LogItem::Delete ( LogItem Item)
inlinestatic

Definition at line 77 of file torcloggingimp.cpp.

void LogItem::SetThreadTid ( void  )
inline

Definition at line 129 of file torcloggingimp.cpp.

void LogItem::SetTime ( void  )
inline

Definition at line 110 of file torcloggingimp.cpp.

Member Data Documentation

const char* LogItem::file

Definition at line 158 of file torcloggingimp.cpp.

const char* LogItem::function

Definition at line 159 of file torcloggingimp.cpp.

LogLevel LogItem::level

Definition at line 156 of file torcloggingimp.cpp.

int LogItem::line

Definition at line 154 of file torcloggingimp.cpp.

quint64 LogItem::mask

Definition at line 162 of file torcloggingimp.cpp.

char LogItem::message[LOGLINE_MAX+1]

Definition at line 161 of file torcloggingimp.cpp.

QAtomicInt LogItem::refCount

Definition at line 151 of file torcloggingimp.cpp.

uint64_t LogItem::threadId

Definition at line 152 of file torcloggingimp.cpp.

char* LogItem::threadName

Definition at line 160 of file torcloggingimp.cpp.

struct tm LogItem::tm

Definition at line 157 of file torcloggingimp.cpp.

int LogItem::type

Definition at line 155 of file torcloggingimp.cpp.

uint32_t LogItem::usec

Definition at line 153 of file torcloggingimp.cpp.


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