The small3d library
Tiny C++ 3D game development library for Win/MacOS/Linux/FreeBSD
Loading...
Searching...
No Matches
small3d::Logger Class Reference

Used for logging through macros (LOGERROR, LOGDEBUG, LOGINFO) More...

#include <Logger.hpp>

Public Member Functions

 Logger ()
 Constructor with stream for output.
 
 ~Logger ()
 Destructor.
 
void append (const LogLevel level, const std::string &message) const
 Appends a message to the logger.
 

Detailed Description

Used for logging through macros (LOGERROR, LOGDEBUG, LOGINFO)

Member Function Documentation

◆ append()

void small3d::Logger::append ( const LogLevel level,
const std::string & message ) const

Appends a message to the logger.

Parameters
levelThe logging level (debug, info, etc).
messageThe message.

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