Code::Blocks
SVN r11506
|
a logger which prints messages to a file More...
#include <loggers.h>
Public Member Functions | |
FileLogger (const wxString &filename) | |
FileLogger () | |
void | Append (const wxString &msg, cb_unused Logger::level lv) override |
virtual void | Open (const wxString &filename) |
virtual void | Close () |
Public Member Functions inherited from Logger | |
Logger () | |
virtual | ~Logger () |
virtual void | Append (const wxString &msg, Logger::level lv=info)=0 |
virtual void | Clear () |
virtual void | CopyContentsToClipboard (cb_optional bool selectionOnly=false) |
virtual void | UpdateSettings () |
virtual wxWindow * | CreateControl (cb_optional wxWindow *parent) |
virtual bool | GetWrapMode () const |
virtual bool | HasFeature (cb_optional Feature::Enum feature) const |
virtual void | AppendAdditionalMenuItems (cb_optional wxMenu &menu) |
Protected Attributes | |
wxFFile | f |
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 } |
|
inline |
|
inlineoverride |
Definition at line 48 of file loggers.h.
References wxFFile::fp(), and wxString::wc_str().
|
inlinevirtual |
Reimplemented in HTMLFileLogger.
Definition at line 55 of file loggers.h.
References wxFFile::Close(), and wxFFile::IsOpened().
Referenced by HTMLFileLogger::Close().
|
inlinevirtual |
Reimplemented in HTMLFileLogger.
Definition at line 54 of file loggers.h.
References _T, and wxFFile::Open().
Referenced by HTMLFileLogger::Open().