#include <harness_defs.h>
Definition at line 312 of file harness_defs.h.
◆ anonymous enum
◆ Tracer()
Harness::internal::Tracer::Tracer |
( |
| ) |
|
|
inline |
Definition at line 326 of file harness_defs.h.
326: m_flags(0), m_file(NULL), m_func(NULL), m_line(0) {}
◆ set_trace_info()
Tracer * Harness::internal::Tracer::set_trace_info |
( |
int |
flags, |
|
|
const char * |
file, |
|
|
size_t |
line, |
|
|
const char * |
func |
|
) |
| |
|
inline |
Definition at line 328 of file harness_defs.h.
328 {
329 m_flags = flags;
330 m_line = line;
331 m_file = file;
332 m_func = func;
333 return this;
334 }
◆ trace()
void Harness::internal::Tracer::trace |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
inline |
Definition at line 336 of file harness_defs.h.
336 {
339 const char* msg_fmt = fmt;
342 msg_fmt = msg_fmt_buf;
343 }
344 std::va_list argptr;
345 va_start(argptr, fmt);
347 va_end(argptr);
350 {
351 msg[len] = '\n';
352 msg[len + 1] = 0;
353 }
355 }
void Report(const char *msg)
The documentation for this class was generated from the following file: