Classes | |
| class | PrintTarget |
| Pure virtual base class for printing trace output. More... | |
Typedefs | |
| typedef SharedPtr< PrintTarget > | PrintTargetPtr |
| typedef for a print target object | |
Functions | |
| void | SetTraceLevel (sint32 level) |
| Method for setting the trace level. | |
| sint32 | GetTraceLevel () |
| void | SetErrorTarget (PrintTargetPtr error_target) |
| Set the print target object for printing errors. | |
| void | SetWarningTarget (PrintTargetPtr warning_target) |
| Set the print target object for printing warnings. | |
| void | SetInfoTarget (PrintTargetPtr info_target) |
| Set the print target object for printing infos. | |
| void | SetTraceTarget (PrintTargetPtr trace_target) |
| Set the print target object for printing the traces. | |
| void | Error (const char *module, const char *function, uint32 line_number, const char *format,...) |
| Write output to the current active error print target. | |
| void | Warning (const char *module, const char *function, uint32 line_number, const char *format,...) |
| Write output to the current active warning print target. | |
| void | Info (const char *module, const char *function, uint32 line_number, const char *format,...) |
| Write output to the current active info print target. | |
| void | 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. | |
| void TC::Output::SetTraceLevel | ( | sint32 | level | ) |
Method for setting the trace level.
| level | is the level number |
| 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.
| module | Name of the module to which this error belongs to | |
| format | of the output used by snprintf | |
| ... | parameters needed because of the format by snprintf |
| 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.
| module | Name of the module to which this warning belongs to | |
| format | of the output used by snprintf | |
| ... | parameters needed because of the format by snprintf |
| 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.
| module | Name of the module to which this info belongs to | |
| format | of the output used by snprintf | |
| ... | parameters needed because of the format by snprintf |
| 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.
| module | Name of the module to which this trace belongs to | |
| level | trace level of this output | |
| format | of the output used by snprintf | |
| ... | parameters needed because of the format by snprintf |