Logger used in small3d.
More...
#include <iostream>
#include <ostream>
#include <memory>
Go to the source code of this file.
|
enum class | small3d::LogLevel { loggerinfo
, loggerdebug
, loggererror
} |
| Possible logging levels.
|
|
|
void | small3d::initLogger () |
| Initialise the logger.
|
|
void | small3d::deleteLogger () |
| Destroy the logger.
|
|
|
std::shared_ptr< small3d::Logger > | logger |
| The logger object used by the logging macros.
|
|
Logger used in small3d.
Created on: 2014/10/18 Author: Dimitri Kourkoulis License: BSD 3-Clause License (see LICENSE file)
◆ LOGDEBUG
#define LOGDEBUG |
( |
| MESSAGE | ) |
|
Value:logger->append(small3d::LogLevel::loggerdebug, MESSAGE)
std::shared_ptr< small3d::Logger > logger
The logger object used by the logging macros.
Definition Logger.cpp:14
Log debug information (only shows up when debugging)
◆ LOGERROR
#define LOGERROR |
( |
| MESSAGE | ) |
|
Value:logger->append(small3d::LogLevel::loggererror, MESSAGE)
Log an error
◆ LOGINFO
#define LOGINFO |
( |
| MESSAGE | ) |
|
Value:logger->append(small3d::LogLevel::loggerinfo, MESSAGE)
Log information (shows up even when not debugging)