The small3d library
|
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... | |
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. |