Reporting Class Reference

Brief description of class Reporting. More...

#include <armarx/control/ethercat/ErrorReporting.h>

+ Inheritance diagram for Reporting:

Classes

struct  QueueImpl
 

Public Member Functions

std::optional< std::filesystem::path > dumpToFile (std::filesystem::path file, std::uint64_t lastNSeconds=1000000)
 
Reporter getErrorReporter ()
 
void report (Entry &&error)
 
void setMaxErrorHistorySize (std::size_t maxErrorHistorySize)
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Static Public Member Functions

static ReportinggetErrorReporting ()
 
static ReportergetGlobalErrorReporter ()
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Brief description of class Reporting.

Detailed description of class Reporting.

Definition at line 183 of file ErrorReporting.h.

Member Function Documentation

◆ dumpToFile()

std::optional< std::filesystem::path > dumpToFile ( std::filesystem::path  file,
std::uint64_t  lastNSeconds = 1000000 
)

Definition at line 120 of file ErrorReporting.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getErrorReporter()

Reporter getErrorReporter ( )

Definition at line 89 of file ErrorReporting.cpp.

+ Here is the caller graph for this function:

◆ getErrorReporting()

Reporting & getErrorReporting ( )
static

Definition at line 82 of file ErrorReporting.cpp.

+ Here is the caller graph for this function:

◆ getGlobalErrorReporter()

Reporter & getGlobalErrorReporter ( )
static

Definition at line 95 of file ErrorReporting.cpp.

+ Here is the call graph for this function:

◆ report()

void report ( Entry &&  error)

Definition at line 102 of file ErrorReporting.cpp.

+ Here is the call graph for this function:

◆ setMaxErrorHistorySize()

void setMaxErrorHistorySize ( std::size_t  maxErrorHistorySize)

Definition at line 114 of file ErrorReporting.cpp.


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