![]() |
The small3d library
Tiny C++ 3D game development library for Win/Linux
|
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. | |
Used for logging through macros (LOGERROR, LOGDEBUG, LOGINFO)
| void small3d::Logger::append | ( | const LogLevel | level, |
| const std::string & | message ) const |
Appends a message to the logger.
| level | The logging level (debug, info, etc). |
| message | The message. |