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

#include <LoggerConsole.hpp>

Public Member Functions

 ProgramConsole (bool showConsole)
 Constructor.
 
void beginLog (LogType logLevel)
 Configures console for the given log type.
 
void print (MbString const &toLog, bool newLine)
 Prints a text in the console, adds the line end character if asked.
 

Constructor & Destructor Documentation

◆ ProgramConsole()

castor::ProgramConsole::ProgramConsole ( bool showConsole)
explicit

Constructor.

Member Function Documentation

◆ beginLog()

void castor::ProgramConsole::beginLog ( LogType logLevel)

Configures console for the given log type.

Parameters
[in]logLevelThe log level.

◆ print()

void castor::ProgramConsole::print ( MbString const & toLog,
bool newLine )

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: