MythTV
master
|
#include <QtGlobal>
#include <QAtomicInt>
#include <QMutex>
#include <QMutexLocker>
#include <QWaitCondition>
#include <QList>
#include <QQueue>
#include <QHash>
#include <QCoreApplication>
#include <QFileInfo>
#include <QStringList>
#include <QMap>
#include <QSocketNotifier>
#include <iostream>
#include "mythlogging.h"
#include "logging.h"
#include "loggingserver.h"
#include "mythdb.h"
#include "mythcorecontext.h"
#include "dbutil.h"
#include "exitcodes.h"
#include "compat.h"
#include <cstdlib>
#include <cstdarg>
#include <cstring>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <cstdio>
#include <unistd.h>
#include <csignal>
Go to the source code of this file.
Classes | |
struct | LoggerListItem |
Typedefs | |
using | LoggerList = QList< LoggerBase * > |
Functions | |
bool | logForwardStart (void) |
void | logForwardStop (void) |
void | logForwardMessage (LoggingItem *item) |
Variables | |
static QMutex | loggerMapMutex |
static QMap< QString, LoggerBase * > | loggerMap |
LogForwardThread * | logForwardThread = nullptr |
static QMutex | gLoggerListMutex |
static LoggerListItem * | gLoggerList {nullptr} |
static QMutex | gLogItemListMutex |
static LoggingItemList | gLogItemList |
static QWaitCondition | gLogItemListNotEmpty |
using LoggerList = QList<LoggerBase *> |
Definition at line 62 of file loggingserver.cpp.
bool logForwardStart | ( | void | ) |
Definition at line 495 of file loggingserver.cpp.
Referenced by LoggerThread::LoggerThread().
void logForwardStop | ( | void | ) |
Definition at line 504 of file loggingserver.cpp.
Referenced by LoggerThread::~LoggerThread().
void logForwardMessage | ( | LoggingItem * | item | ) |
Definition at line 516 of file loggingserver.cpp.
Referenced by LoggerThread::handleItem().
|
static |
Definition at line 57 of file loggingserver.cpp.
Referenced by LogForwardThread::forwardMessage(), LogForwardThread::handleSigHup(), LoggerBase::LoggerBase(), LogForwardThread::run(), and LoggerBase::~LoggerBase().
|
static |
Definition at line 58 of file loggingserver.cpp.
Referenced by FileLogger::create(), LogForwardThread::handleSigHup(), LoggerBase::LoggerBase(), LogForwardThread::run(), and LoggerBase::~LoggerBase().
LogForwardThread* logForwardThread = nullptr |
Definition at line 60 of file loggingserver.cpp.
Referenced by logForwardStart(), and logForwardStop().
|
static |
Definition at line 70 of file loggingserver.cpp.
Referenced by LogForwardThread::forwardMessage().
|
static |
Definition at line 71 of file loggingserver.cpp.
Referenced by LogForwardThread::forwardMessage().
|
static |
Definition at line 80 of file loggingserver.cpp.
Referenced by logForwardMessage(), and LogForwardThread::run().
|
static |
Definition at line 81 of file loggingserver.cpp.
Referenced by logForwardMessage(), and LogForwardThread::run().
|
static |
Definition at line 82 of file loggingserver.cpp.
Referenced by logForwardMessage(), and LogForwardThread::run().