fesa-core
4.3.1
|
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... | |
Framework side diagnostic infrastructure.
void fesa::FrameworkDiagnostics::disable | ( | const std::string & | topic | ) | const |
Disable logging for the given topic.
[in] | topic | The diagnostic topic to disable logging for |
void fesa::FrameworkDiagnostics::enable | ( | const std::string & | topic | ) | const |
Enable logging for the given topic.
[in] | topic | The diagnostic topic to enable logging for |
const DiagnosticsDefs::DiagnosticTopics & fesa::FrameworkDiagnostics::getTopics | ( | ) | const |
Get diagnostic topics.
void fesa::FrameworkDiagnostics::log | ( | const std::string & | topic, |
DiagnosticsDefs::DiagnosticMessage & | diagMsg | ||
) |
Log a diagnostic message.
[in] | topic | The diagnostic topic which the diagnostic message is concerned with |
[in] | diagnosticMessage | The diagnostic message to log |