#include <trace_helpers.h>
|
void | traceV (const wxString &aWhat, const wxString &aFmt, va_list vargs) |
|
void | init () |
|
Definition at line 226 of file trace_helpers.h.
◆ TRACE_MANAGER()
TRACE_MANAGER::TRACE_MANAGER |
( |
| ) |
|
|
inline |
◆ ~TRACE_MANAGER()
TRACE_MANAGER::~TRACE_MANAGER |
( |
| ) |
|
|
inline |
◆ init()
void TRACE_MANAGER::init |
( |
| ) |
|
|
private |
Definition at line 325 of file trace_helpers.cpp.
326{
327 wxString traceVars;
330
332 return;
333
334 wxStringTokenizer tokenizer( traceVars, wxT( "," ) );
335
336 while( tokenizer.HasMoreTokens() )
337 {
338 wxString token = tokenizer.GetNextToken();
340
341 if( token.Lower() == wxT( "all" ) )
343 }
344}
std::map< wxString, bool > m_enabledTraces
References m_enabledTraces, m_globalTraceEnabled, and m_printAllTraces.
Referenced by Instance().
◆ Instance()
◆ IsTraceEnabled()
bool TRACE_MANAGER::IsTraceEnabled |
( |
const wxString & |
aWhat | ) |
|
◆ traceV() [1/2]
TRACE_MANAGER::traceV |
( |
aWhat |
, |
|
|
aFmt |
, |
|
|
argptr |
|
|
) |
| |
◆ traceV() [2/2]
void TRACE_MANAGER::traceV |
( |
const wxString & |
aWhat, |
|
|
const wxString & |
aFmt, |
|
|
va_list |
vargs |
|
) |
| |
|
private |
Definition at line 311 of file trace_helpers.cpp.
312{
314 return;
315
316 wxString str;
317 str.PrintfV(
aFmt, vargs );
318
319#ifdef __unix__
320 fprintf( stderr, " %-30s | %s", aWhat.c_str().AsChar(), str.c_str().AsChar() );
321#endif
322}
bool IsTraceEnabled(const wxString &aWhat)
References aFmt, and IsTraceEnabled().
◆ va_end()
TRACE_MANAGER::va_end |
( |
argptr |
| ) |
|
◆ va_start()
const wxChar TRACE_MANAGER::va_start |
( |
argptr |
, |
|
|
aFmt |
|
|
) |
| |
◆ WX_DEFINE_VARARG_FUNC_VOID()
TRACE_MANAGER::WX_DEFINE_VARARG_FUNC_VOID |
( |
Trace |
, |
|
|
2 |
, |
|
|
(const wxString, const wxFormatString &) |
, |
|
|
DoTrace |
, |
|
|
DoTraceUtf8 |
|
|
) |
| const |
◆ aFmt
const wxChar* TRACE_MANAGER::aFmt |
◆ m_enabledTraces
std::map<wxString, bool> TRACE_MANAGER::m_enabledTraces |
|
private |
◆ m_globalTraceEnabled
bool TRACE_MANAGER::m_globalTraceEnabled |
|
private |
◆ m_printAllTraces
bool TRACE_MANAGER::m_printAllTraces |
|
private |
The documentation for this class was generated from the following files: