logging.h File Reference

Go to the source code of this file.

Classes

union  LoggerHandle_t
 A semi-opaque handle that is used by the various loggers to indicate which instance is being referenced. More...
class  LoggerBase
 Base class for the various logging mechanisms. More...
class  FileLogger
 File-based logger - used for logfiles and console. More...
class  SyslogLogger
 Syslog-based logger (not available in Windows). More...
class  DatabaseLogger
 Database logger - logs to the MythTV database. More...
class  LoggerThread
 The logging thread that consumes the logging queue and dispatches each LoggingItem to each logger instance. More...
class  DBLoggerThread
 Thread that manages the queueing of logging inserts for the database. More...

Functions

void loggingRegisterThread (const QString &name)
 Register the current thread with the given name.
void loggingDeregisterThread (void)
 Deregister the current thread's name.

Function Documentation

void loggingRegisterThread ( const QString &  name  ) 

Register the current thread with the given name.

This is triggered by the RunProlog() call in each thread.

Parameters:
name the name of the thread being registered. This is used for indicating the thread each log message is coming from.

Definition at line 1257 of file logging.cpp.

Referenced by MPoolThread::run(), and MThread::ThreadSetup().

void loggingDeregisterThread ( void   ) 

Deregister the current thread's name.

This is triggered by the RunEpilog() call in each thread.

Definition at line 1275 of file logging.cpp.

Referenced by MPoolThread::run(), MThread::ThreadCleanup(), and MythCoreContextPrivate::~MythCoreContextPrivate().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:45 2012 for MythTV by  doxygen 1.6.3