#include "TCFactory.h"
Go to the source code of this file.
Classes | |
class | TC::Output::PrintTarget |
Pure virtual base class for printing trace output. More... | |
Namespaces | |
namespace | TC |
namespace | TC::Output |
class used for debug output | |
Defines | |
#define | _TC_FUNCTION_ __FUNCTION__ |
#define | TCTRACE_ENABLE |
#define | TCTRACE(MODULE, LEVEL, FORMAT) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, FORMAT) |
#define | TCTRACE1(MODULE, LEVEL, FORMAT, ARG1) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, FORMAT, ARG1) |
#define | TCTRACE2(MODULE, LEVEL, FORMAT, ARG1, ARG2) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2) |
#define | TCTRACE3(MODULE, LEVEL, FORMAT, ARG1, ARG2, ARG3) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3) |
#define | TCTRACE4(MODULE, LEVEL, FORMAT, ARG1, ARG2, ARG3, ARG4) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3, ARG4) |
#define | TCTRACEF(MODULE, LEVEL) TC::Output::Trace(MODULE, LEVEL, _TC_FUNCTION_, __LINE__, "") |
#define | TCTRACES(MODULE, LEVEL, STREAM) |
#define | TCINFO(MODULE, FORMAT) TC::Output::Info(MODULE, _TC_FUNCTION_, __LINE__, FORMAT) |
#define | TCINFO1(MODULE, FORMAT, ARG1) TC::Output::Info(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1) |
#define | TCINFO2(MODULE, FORMAT, ARG1, ARG2) TC::Output::Info(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2) |
#define | TCINFO3(MODULE, FORMAT, ARG1, ARG2, ARG3) TC::Output::Info(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3) |
#define | TCINFO4(MODULE, FORMAT, ARG1, ARG2, ARG3, ARG4) TC::Output::Info(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3, ARG4) |
#define | TCINFOS(MODULE, STREAM) |
#define | TCWARNING(MODULE, FORMAT) TC::Output::Warning(MODULE, _TC_FUNCTION_, __LINE__, FORMAT) |
#define | TCWARNING1(MODULE, FORMAT, ARG1) TC::Output::Warning(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1) |
#define | TCWARNING2(MODULE, FORMAT, ARG1, ARG2) TC::Output::Warning(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2) |
#define | TCWARNING3(MODULE, FORMAT, ARG1, ARG2, ARG3) TC::Output::Warning(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3) |
#define | TCWARNING4(MODULE, FORMAT, ARG1, ARG2, ARG3, ARG4) TC::Output::Warning(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3, ARG4) |
#define | TCWARNINGS(MODULE, STREAM) |
#define | TCERROR(MODULE, FORMAT) TC::Output::Error(MODULE, _TC_FUNCTION_, __LINE__, FORMAT) |
#define | TCERROR1(MODULE, FORMAT, ARG1) TC::Output::Error(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1) |
#define | TCERROR2(MODULE, FORMAT, ARG1, ARG2) TC::Output::Error(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2) |
#define | TCERROR3(MODULE, FORMAT, ARG1, ARG2, ARG3) TC::Output::Error(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3) |
#define | TCERROR4(MODULE, FORMAT, ARG1, ARG2, ARG3, ARG4) TC::Output::Error(MODULE, _TC_FUNCTION_, __LINE__, FORMAT, ARG1, ARG2, ARG3, ARG4) |
#define | TCERRORS(MODULE, STREAM) |
Typedefs | |
typedef SharedPtr< PrintTarget > | TC::Output::PrintTargetPtr |
typedef for a print target object | |
Functions | |
void | TC::Output::SetTraceLevel (sint32 level) |
Method for setting the trace level. | |
sint32 | TC::Output::GetTraceLevel () |
void | TC::Output::SetErrorTarget (PrintTargetPtr error_target) |
Set the print target object for printing errors. | |
void | TC::Output::SetWarningTarget (PrintTargetPtr warning_target) |
Set the print target object for printing warnings. | |
void | TC::Output::SetInfoTarget (PrintTargetPtr info_target) |
Set the print target object for printing infos. | |
void | TC::Output::SetTraceTarget (PrintTargetPtr trace_target) |
Set the print target object for printing the traces. | |
void | TC::Output::Error (const char *module, const char *function, uint32 line_number, const char *format,...) |
Write output to the current active error print target. | |
void | TC::Output::Warning (const char *module, const char *function, uint32 line_number, const char *format,...) |
Write output to the current active warning print target. | |
void | TC::Output::Info (const char *module, const char *function, uint32 line_number, const char *format,...) |
Write output to the current active info print target. | |
void | TC::Output::Trace (const char *module, sint32 level, const char *function, uint32 line_number, const char *format,...) |
Write output to the current active trace print target when the level is lower then the global trace level TC::Debug::m_trace_level. |
Definition in file TCOutput.h.