MythTV  master
Classes | Macros | Typedefs | Functions
loggingserver.h File Reference
#include <QMutexLocker>
#include <QSocketNotifier>
#include <QMutex>
#include <QQueue>
#include <QTime>
#include <cstdint>
#include <ctime>
#include <unistd.h>
#include "mythconfig.h"
#include "mythbaseexp.h"
#include "verbosedefs.h"
#include "mythsignalingtimer.h"
#include "mthread.h"
Include dependency graph for loggingserver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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  LogForwardThread
 The logging thread that forwards received messages to the consuming loggers via ZeroMQ. More...
 
class  DBLoggerThread
 Thread that manages the queueing of logging inserts for the database. More...
 

Macros

#define LOGLINE_MAX   (2048-120)
 
#define MAX_QUEUE_LEN   1000
 

Typedefs

typedef QList< QByteArray > LogMessage
 
typedef QList< LogMessage * > LogMessageList
 

Functions

MBASE_PUBLIC bool logForwardStart (void)
 
MBASE_PUBLIC void logForwardStop (void)
 
MBASE_PUBLIC void logForwardMessage (const QList< QByteArray > &msg)
 

Macro Definition Documentation

◆ LOGLINE_MAX

#define LOGLINE_MAX   (2048-120)

Definition at line 20 of file loggingserver.h.

◆ MAX_QUEUE_LEN

#define MAX_QUEUE_LEN   1000

Definition at line 159 of file loggingserver.h.

Typedef Documentation

◆ LogMessage

typedef QList<QByteArray> LogMessage

Definition at line 128 of file loggingserver.h.

◆ LogMessageList

typedef QList<LogMessage *> LogMessageList

Definition at line 129 of file loggingserver.h.

Function Documentation

◆ logForwardStart()

MBASE_PUBLIC bool logForwardStart ( void  )

Definition at line 920 of file loggingserver.cpp.

Referenced by LoggerThread::LoggerThread().

◆ logForwardStop()

MBASE_PUBLIC void logForwardStop ( void  )

Definition at line 929 of file loggingserver.cpp.

Referenced by LoggerThread::~LoggerThread().

◆ logForwardMessage()

MBASE_PUBLIC void logForwardMessage ( const QList< QByteArray > &  msg)

Definition at line 945 of file loggingserver.cpp.

Referenced by LoggerThread::handleItem().