Gobelijn API documentation
- generated for commit a0cbea7
|
Class used to channel output of the BlockTracer, FunctionTracer and MemberTracer objects to the g3log. More...
#include <TracerOutput.h>
Public Member Functions | |
TracerOutput ()=default | |
No constructor. More... | |
bool | is_output_on () |
Indicate whether current making output. More... | |
void | set_output_on () |
Start making output (ok even output already started). More... | |
void | set_output_off () |
Stop making output (ok even if output already stopped). More... | |
void | increase_indent () |
Increase the indentation level. More... | |
void | decrease_indent () |
Decrease the indentation level. More... | |
void | log (const std::string &msg) |
Insert the message in the google log at given severity level. More... | |
Private Attributes | |
bool | m_make_output {true} |
unsigned int | m_indent {0} |
Class used to channel output of the BlockTracer, FunctionTracer and MemberTracer objects to the g3log.
Manages the following features for the Tracer object's output:
Definition at line 29 of file TracerOutput.h.
|
default |
No constructor.
bool UA_CoMP::Misc::TracerOutput::is_output_on | ( | ) |
Indicate whether current making output.
Definition at line 17 of file TracerOutput.cpp.
void UA_CoMP::Misc::TracerOutput::set_output_on | ( | ) |
Start making output (ok even output already started).
Definition at line 19 of file TracerOutput.cpp.
void UA_CoMP::Misc::TracerOutput::set_output_off | ( | ) |
Stop making output (ok even if output already stopped).
Definition at line 21 of file TracerOutput.cpp.
void UA_CoMP::Misc::TracerOutput::increase_indent | ( | ) |
Increase the indentation level.
Definition at line 23 of file TracerOutput.cpp.
Referenced by UA_CoMP::Misc::BlockTracer::BlockTracer(), UA_CoMP::Misc::FunctionTracer::FunctionTracer(), and UA_CoMP::Misc::MemberTracer::MemberTracer().
void UA_CoMP::Misc::TracerOutput::decrease_indent | ( | ) |
Decrease the indentation level.
Definition at line 25 of file TracerOutput.cpp.
Referenced by UA_CoMP::Misc::BlockTracer::~BlockTracer(), UA_CoMP::Misc::FunctionTracer::~FunctionTracer(), and UA_CoMP::Misc::MemberTracer::~MemberTracer().
void UA_CoMP::Misc::TracerOutput::log | ( | const std::string & | msg | ) |
Insert the message in the google log at given severity level.
Definition at line 27 of file TracerOutput.cpp.
Referenced by UA_CoMP::Misc::BlockTracer::BlockTracer(), UA_CoMP::Misc::FunctionTracer::FunctionTracer(), UA_CoMP::Misc::MemberTracer::MemberTracer(), UA_CoMP::Misc::BlockTracer::~BlockTracer(), UA_CoMP::Misc::FunctionTracer::~FunctionTracer(), and UA_CoMP::Misc::MemberTracer::~MemberTracer().
|
private |
Definition at line 54 of file TracerOutput.h.
|
private |
Definition at line 55 of file TracerOutput.h.