Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::ConsoleImpl Class Referenceabstract

#include <LoggerConsole.hpp>

Inheritance diagram for castor::ConsoleImpl:
Inheritance graph
[legend]
Collaboration diagram for castor::ConsoleImpl:
Collaboration graph
[legend]

Public Member Functions

 ConsoleImpl ()=default
 Constructor.
 
virtual ~ConsoleImpl () noexcept=default
 Destructor.
 
virtual void beginLog (LogType logLevel)=0
 Configures console for the given log type.
 
virtual void print (MbString const &toLog, bool newLine)=0
 Prints a text in the console, adds the line end character if asked.
 

Additional Inherited Members

- Protected Member Functions inherited from castor::NonMovable
 NonMovable ()=default
 Constructor.
 
 ~NonMovable () noexcept=default
 Destructor.
 

Constructor & Destructor Documentation

◆ ConsoleImpl()

castor::ConsoleImpl::ConsoleImpl ( )
default

Constructor.

◆ ~ConsoleImpl()

virtual castor::ConsoleImpl::~ConsoleImpl ( )
virtualdefaultnoexcept

Destructor.

Member Function Documentation

◆ beginLog()

virtual void castor::ConsoleImpl::beginLog ( LogType logLevel)
pure virtual

Configures console for the given log type.

Parameters
[in]logLevelThe log level.

◆ print()

virtual void castor::ConsoleImpl::print ( MbString const & toLog,
bool newLine )
pure virtual

Prints a text in the console, adds the line end character if asked.

Parameters
[in]toLogThe text to log.
[in]newLineTells if the line end character must be added.

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