#include <unistd.h>
#include <stdio.h>
#include <string>
#include <fstream>
#include <iomanip>
#include <signal.h>
#include <fesa-core/Diagnostic/TimeStampCounter.h>
#include <fesa-core/Diagnostic/UdpLogger.h>
#include <fesa-core/Utilities/Mutex.h>
#include <fesa-core/DataStore/AbstractDevice.h>
Go to the source code of this file.
Classes | |
class | fesa::FesaLogger |
class | fesa::FesaLoggerBuffer |
Namespaces | |
namespace | fesa |
Defines | |
#define | LOGERROR(severity) pLog->logError(fesa::FesaLogger::severity) |
#define | FWK_LOGERROR(severity) pLog->logError(FesaLogger::severity, FesaLogger::FWK_SENDER) |
#define | LOGTRACE(topic) if (pLog->isEnabledFor(topic)) *pLog |
#define | FWK_LOGTRACE(topic) if (pLog->isEnabledFor(FesaLogger::topic)) *pLog |
#define | LOGTRACE_DEVICE(topic, pdev) if (pLog->isEnabledFor(topic, pdev)) *pLog |
#define | FWK_LOGTRACE_DEVICE(topic, pdev) if (pLog->isEnabledFor(FesaLogger::topic, pdev)) *pLog |
#define | SET_TRACE_HEADER(sender) |
Variables | |
const std::string | fesa::defaultLogName = "DLT" |
const std::string | fesa::rtLogName = "RT" |
const std::string | fesa::srvLogName = "SRV" |
const std::string | fesa::evtLogName = "EVT" |
const std::string | fesa::notifLogName = "NOTIF" |
const std::string | fesa::bgrNotifLogName = "BGR_NOTIF" |
const std::string | fesa::rdaLogName = "RDA" |
const std::string | fesa::persLogName = "PSTCY" |
const std::string | fesa::undefinedClassName = std::string("-") |
const std::string | fesa::undefinedThreadName = std::string("-") |
const std::string | fesa::undefinedFunctionName = std::string("-") |
#define FWK_LOGERROR | ( | severity | ) | pLog->logError(FesaLogger::severity, FesaLogger::FWK_SENDER) |
Definition at line 41 of file FesaLogger.h.
#define FWK_LOGTRACE | ( | topic | ) | if (pLog->isEnabledFor(FesaLogger::topic)) *pLog |
Definition at line 45 of file FesaLogger.h.
#define FWK_LOGTRACE_DEVICE | ( | topic, | |||
pdev | ) | if (pLog->isEnabledFor(FesaLogger::topic, pdev)) *pLog |
Definition at line 49 of file FesaLogger.h.
#define LOGERROR | ( | severity | ) | pLog->logError(fesa::FesaLogger::severity) |
Definition at line 40 of file FesaLogger.h.
#define LOGTRACE | ( | topic | ) | if (pLog->isEnabledFor(topic)) *pLog |
Definition at line 44 of file FesaLogger.h.
#define LOGTRACE_DEVICE | ( | topic, | |||
pdev | ) | if (pLog->isEnabledFor(topic, pdev)) *pLog |
Definition at line 48 of file FesaLogger.h.
#define SET_TRACE_HEADER | ( | sender | ) |
logType_ = traceType; \ errSeverity_ = none; \ *this << sender << "|TRACE|" << logSource_ << className_ << logThread_ << logCount_++ << "|" << std::setprecision(20) << logTsc_.getValue(YS_UNIT) << "|"
Definition at line 327 of file FesaLogger.h.
Referenced by fesa::FesaLogger::isEnabledFor().