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.
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Static Public Member Functions

static Reporting & getErrorReporting ()
 
static Reporter & getGlobalErrorReporter ()
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtr & getLogSender () const
 Retrieve log sender.
 
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.

Member Function Documentation

◆ dumpToFile()

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

◆ getErrorReporter()

Reporter getErrorReporter ( )

◆ getErrorReporting()

Reporting & getErrorReporting ( )
static

◆ getGlobalErrorReporter()

Reporter & getGlobalErrorReporter ( )
static

◆ report()

void report ( Entry && error)

◆ setMaxErrorHistorySize()

void setMaxErrorHistorySize ( std::size_t maxErrorHistorySize)

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