#include <wx_debugger.h>
Inheritance diagram for wx_debugger:


Public Member Functions | |
| wx_debugger (wxEvtHandler *recipient, synchronicity synch=delayed, line_ending ending=LF_AT_END, time_stamp_method stamp=NO_STAMP) | |
| virtual | ~wx_debugger () |
| virtual outcome | log (const istring &info, int filter=ALWAYS_PRINT) |
| writes the information in "info" to the log using the "filter" value. | |
Static Public Member Functions | |
| static const int & | EVENT () |
Definition at line 35 of file wx_debugger.h.
| wx_debugger::wx_debugger | ( | wxEvtHandler * | recipient, | |
| synchronicity | synch = delayed, |
|||
| line_ending | ending = LF_AT_END, |
|||
| time_stamp_method | stamp = NO_STAMP | |||
| ) |
Definition at line 38 of file wx_debugger.cpp.
| wx_debugger::~wx_debugger | ( | ) | [virtual] |
Definition at line 44 of file wx_debugger.cpp.
writes the information in "info" to the log using the "filter" value.
the "filter" value must be checked to see if it is in the current set of allowed filters (using member()). this function _must_ be provided by derived classes and it _must_ check the filter before printing if it wants to be in compliance with log_base protocols. it also must implement the line_ending appropriately. the return value will often be a member of the common outcomes, but derived classes may see fit to return other things. note that an object derived from log_base should be thread-safe and protect its own member attributes through synchronization.
Reimplemented from debugger.
Definition at line 48 of file wx_debugger.cpp.
References common::BAD_INPUT, debugger::create_debug_message(), log_base::eol(), debugger::immediate, common::OKAY, debugger::recipient(), debugger::stamp(), and debugger::synch().
| const int & wx_debugger::EVENT | ( | ) | [static] |
1.5.1