#include <trace.h>
|
| | tracer (char const *file, int line, char const *function) |
| |
| void | operator() (unsigned int type, char const *format,...) ATTRIBUTE(format(printf |
| | Convert the specified message into a single string and process it. More...
|
| |
§ tracer()
| tracer::tracer |
( |
char const * |
file, |
|
|
int |
line, |
|
|
char const * |
function |
|
) |
| |
|
inline |
§ operator()()
| void tracer::operator() |
( |
unsigned int |
trace_type, |
|
|
char const * |
format, |
|
|
|
... |
|
) |
| |
Convert the specified message into a single string and process it.
- Parameters
-
| trace_type | The message type. This determines how we will process it. For example, TRACE_TYPE_DEBUG could mean that we print the message to the console. |
| filename | The name of the file where the message is coming from. |
| line_num | The line number in the file where the message is coming from. |
| function_name | The name of the function where the message is coming from. |
| format | The format string for this message. printf() syntax. |
| ... | Optional arguments referenced by the format string. |
§ _file
| char const* tracer::_file |
§ _function
| char const* tracer::_function |
§ _line
The documentation for this struct was generated from the following files: