35#include <wx/textctrl.h> 
   36#include <wx/statusbr.h> 
   61                 wxT( 
"No wxTextCtrl object defined in WX_TEXT_CTRL_REPORTER." ) );
 
 
   98    static REPORTER* s_nullReporter = 
nullptr;
 
  100    if( !s_nullReporter )
 
  103    return *s_nullReporter;
 
 
  111    FILE* target = stdout;
 
  116    if( aMsg.EndsWith( wxS( 
"\n" ) ) )
 
  117        wxFprintf( target, aMsg );
 
  119        wxFprintf( target, aMsg + wxS( 
"\n" ) );
 
 
  133    return s_cliReporter;
 
 
  153    std::cout << aMsg << std::endl;
 
 
  161    static REPORTER* s_stdoutReporter = 
nullptr;
 
  163    if( !s_stdoutReporter )
 
  166    return *s_stdoutReporter;
 
 
  192    static REPORTER* s_wxLogReporter = 
nullptr;
 
  195    if( !s_wxLogReporter )
 
  198    return *s_wxLogReporter;
 
 
REPORTER & Report(const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
static REPORTER & GetInstance()
 
static REPORTER & GetInstance()
 
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
REPORTER * m_redirectTarget
 
REPORTER & Report(const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
virtual REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
Report a string with a given severity.
 
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
wxStatusBar * m_statusBar
 
REPORTER & Report(const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
static REPORTER & GetInstance()
 
REPORTER & Report(const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
static REPORTER & GetInstance()
 
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
const wxString & GetMessages() const
 
REPORTER & Report(const wxString &aText, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) override
Report a string with a given severity.
 
static const wxChar traceReporter[]
Flag to enable reporter debugging output.
 
This file contains miscellaneous commonly used macros and functions.
 
static std::mutex g_logReporterMutex
 
wxString From_UTF8(const char *cstring)