Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
HTMLFileLogger Class Reference

a logger which prints messages to an HTML file More...

#include <loggers.h>

Inheritance diagram for HTMLFileLogger:
Collaboration diagram for HTMLFileLogger:

Public Member Functions

 HTMLFileLogger (const wxString &filename)
 
void SetCSS (const CSS &in_css)
 
void Append (const wxString &msg, Logger::level lv) override
 
void Open (const wxString &filename) override
 
void Close () override
 
- Public Member Functions inherited from FileLogger
 FileLogger (const wxString &filename)
 
 FileLogger ()
 
void Append (const wxString &msg, cb_unused Logger::level lv) override
 
- Public Member Functions inherited from Logger
 Logger ()
 
virtual ~Logger ()
 
virtual void Clear ()
 
virtual void CopyContentsToClipboard (cb_optional bool selectionOnly=false)
 
virtual void UpdateSettings ()
 
virtual wxWindowCreateControl (cb_optional wxWindow *parent)
 
virtual bool GetWrapMode () const
 
virtual bool HasFeature (cb_optional Feature::Enum feature) const
 
virtual void AppendAdditionalMenuItems (cb_optional wxMenu &menu)
 

Private Attributes

CSS css
 

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 FileLogger
wxFFile f
 

Detailed Description

a logger which prints messages to an HTML file

Definition at line 77 of file loggers.h.

Constructor & Destructor Documentation

◆ HTMLFileLogger()

HTMLFileLogger::HTMLFileLogger ( const wxString filename)

Definition at line 459 of file loggers.cpp.

Member Function Documentation

◆ Append()

void HTMLFileLogger::Append ( const wxString msg,
Logger::level  lv 
)
overridevirtual

Implements Logger.

Definition at line 466 of file loggers.cpp.

References wxString::wc_str().

◆ Close()

void HTMLFileLogger::Close ( )
overridevirtual

Reimplemented from FileLogger.

Definition at line 501 of file loggers.cpp.

References FileLogger::Close().

◆ Open()

void HTMLFileLogger::Open ( const wxString filename)
overridevirtual

Reimplemented from FileLogger.

Definition at line 475 of file loggers.cpp.

References FileLogger::Open().

◆ SetCSS()

void HTMLFileLogger::SetCSS ( const CSS in_css)
inline

Definition at line 82 of file loggers.h.

Member Data Documentation

◆ css

CSS HTMLFileLogger::css
private

Definition at line 79 of file loggers.h.


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