The small3d library
Public Member Functions | List of all members
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. More...
 

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: