#include <tjlog.h>

Public Member Functions | |
| Log (const char *objectLabel, const char *functionName, logPriority level=verboseDebug) | |
| Log (const Labeled *labeledObject, const char *functionName, logPriority level=verboseDebug) | |
| ~Log () | |
Logging class to store logging information of the current scope (object, function, ...). The template parameter specifies the component in which logging is placed, e.g. Log<Seq> for tracing sequence code.
Definition at line 218 of file tjlog.h.
| Log< C >::Log | ( | const char * | objectLabel, | |
| const char * | functionName, | |||
| logPriority | level = verboseDebug | |||
| ) |
Constructs a logging stream for object 'objectLabel' and function 'functionName'. Both strings will precede the actual message in the log. The third argument specifies a uniform logging priority for the constructor and destructor. This constructor will automatically generate a START tag in the log for the function it is used in.
Definition at line 26 of file tjlog_code.h.
| Log< C >::Log | ( | const Labeled * | labeledObject, | |
| const char * | functionName, | |||
| logPriority | level = verboseDebug | |||
| ) |
Constructs a logging stream for labeled object 'labeledObject' and function 'functionName'. Both the label and the function name will precede the actual message in the log. The third argument specifies a uniform logging priority for the constructor and destructor. This constructor will automatically generate a START tag in the log for the function it is used in.
Definition at line 34 of file tjlog_code.h.
This destructor will automatically generate an END tag in the log for the function its object is used in.
Definition at line 42 of file tjlog_code.h.
1.7.1