fesa-core  7.0.0
fesa::FrameworkDiagnostics Class Reference

Framework side diagnostic infrastructure. More...

#include <FrameworkDiagnostics.h>

Public Member Functions

 FrameworkDiagnostics ()
 Constructor.
 
 ~FrameworkDiagnostics ()
 Destructor.
 
const
DiagnosticsDefs::DiagnosticTopics & 
getTopics () const
 Get diagnostic topics. More...
 
void log (const std::string &topic, DiagnosticsDefs::DiagnosticMessage &diagMsg)
 Log a diagnostic message. More...
 
void enable (const std::string &topic) const
 Enable logging for the given topic. More...
 
void disable (const std::string &topic) const
 Disable logging for the given topic. More...
 

Detailed Description

Framework side diagnostic infrastructure.

Member Function Documentation

void fesa::FrameworkDiagnostics::disable ( const std::string &  topic) const

Disable logging for the given topic.

Parameters
[in]topicThe diagnostic topic to disable logging for
void fesa::FrameworkDiagnostics::enable ( const std::string &  topic) const

Enable logging for the given topic.

Parameters
[in]topicThe diagnostic topic to enable logging for
const DiagnosticsDefs::DiagnosticTopics & fesa::FrameworkDiagnostics::getTopics ( ) const

Get diagnostic topics.

Returns
List of diagnostic topics
void fesa::FrameworkDiagnostics::log ( const std::string &  topic,
DiagnosticsDefs::DiagnosticMessage diagMsg 
)

Log a diagnostic message.

Parameters
[in]topicThe diagnostic topic which the diagnostic message is concerned with
[in]diagnosticMessageThe diagnostic message to log

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