Base::ILogger Class Referenceabstract

The Logger Interface This class describes an Interface for logging within FreeCAD. More...

#include <Console.h>

Public Member Functions

 ILogger ()
 
virtual const char * Name ()
 
virtual void SendLog (const std::string &msg, LogStyle level)=0
 Used to send a Log message at the given level. More...
 
virtual ~ILogger ()=0
 

Public Attributes

bool bErr
 
bool bLog
 
bool bMsg
 
bool bWrn
 

Detailed Description

The Logger Interface This class describes an Interface for logging within FreeCAD.

If you want to add a new "sink" to FreeCAD's logging mechanism, then inherit this class. You'll also need to register your derived class with ConsoleSingleton.

See also
ConsoleSingleton

Constructor & Destructor Documentation

◆ ILogger()

Base::ILogger::ILogger ( )

◆ ~ILogger()

Base::ILogger::~ILogger ( )
pure virtual

Member Function Documentation

◆ Name()

◆ SendLog()

virtual void Base::ILogger::SendLog ( const std::string &  msg,
LogStyle  level 
)
pure virtual

Member Data Documentation

◆ bErr

◆ bLog

◆ bMsg

◆ bWrn


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