Code::Blocks
SVN r11506
|
an extended logger from TextCtrlLogger, since it add time stamps for each log message More...
#include <loggers.h>
Public Member Functions | |
void | Append (const wxString &msg, Logger::level lv=info) override |
Public Member Functions inherited from TextCtrlLogger | |
TextCtrlLogger (bool fixedPitchFont=false) | |
~TextCtrlLogger () override | |
void | CopyContentsToClipboard (bool selectionOnly=false) override |
void | UpdateSettings () override |
void | Clear () override |
wxWindow * | CreateControl (wxWindow *parent) override |
bool | GetWrapMode () const override |
virtual void | ToggleWrapMode () |
bool | HasFeature (Feature::Enum feature) const override |
Public Member Functions inherited from Logger | |
Logger () | |
virtual | ~Logger () |
virtual void | CopyContentsToClipboard (cb_optional bool selectionOnly=false) |
virtual wxWindow * | CreateControl (cb_optional wxWindow *parent) |
virtual bool | HasFeature (cb_optional Feature::Enum feature) const |
virtual void | AppendAdditionalMenuItems (cb_optional wxMenu &menu) |
Additional Inherited Members | |
Public Types inherited from Logger | |
enum | level { caption, info, warning, success, error, critical, failure, pagetitle, spacer, asterisk } |
enum | { num_levels = asterisk +1 } |
Protected Attributes inherited from TextCtrlLogger | |
wxTextCtrl * | control |
bool | fixed |
wxTextAttr | style [num_levels] |
an extended logger from TextCtrlLogger, since it add time stamps for each log message
|
overridevirtual |
Reimplemented from TextCtrlLogger.
Definition at line 235 of file loggers.cpp.
References _T, wxString::c_str(), TextCtrlLogger::control, wxDateTime::GetHour(), wxDateTime::GetMillisecond(), wxDateTime::GetMinute(), wxDateTime::GetSecond(), TextCtrlLogger::style, and wxDateTime::UNow().