KiCad PCB EDA Suite
WX_LOG_TRACE_ONLY Class Reference

A logger class that filters out all log messages that are not generated by wxLogTrace and ignores them, while passing the trace messages onwards. More...

#include <logging.h>

Inheritance diagram for WX_LOG_TRACE_ONLY:

Public Member Functions

 WX_LOG_TRACE_ONLY ()
 

Protected Member Functions

void DoLogRecord (wxLogLevel aLevel, const wxString &aMsg, const wxLogRecordInfo &aInfo) override
 

Detailed Description

A logger class that filters out all log messages that are not generated by wxLogTrace and ignores them, while passing the trace messages onwards.

Definition at line 31 of file logging.h.

Constructor & Destructor Documentation

◆ WX_LOG_TRACE_ONLY()

WX_LOG_TRACE_ONLY::WX_LOG_TRACE_ONLY ( )
inline

Definition at line 34 of file logging.h.

34  : wxLogInterposerTemp()
35  {
36  }

Member Function Documentation

◆ DoLogRecord()

void WX_LOG_TRACE_ONLY::DoLogRecord ( wxLogLevel  aLevel,
const wxString &  aMsg,
const wxLogRecordInfo &  aInfo 
)
inlineoverrideprotected

Definition at line 39 of file logging.h.

41  {
42  // Only forward the message if it is a trace message
43  if( aLevel == wxLOG_Trace )
44  wxLogInterposerTemp::DoLogRecord( aLevel, aMsg, aInfo );
45  }

The documentation for this class was generated from the following file: