|
Lumiverse
2.5
A framework for creating lighting control applications
|
Contains functions for logging information to console or file. More...
#include <fstream>#include <sstream>#include <iomanip>#include <iostream>#include <string>#include <chrono>#include <mutex>#include <time.h>

Go to the source code of this file.
Namespaces | |
| Lumiverse | |
| Contains all core Lumiverse functions and variables. | |
| Lumiverse::Logger | |
| Logging interface. | |
Enumerations | |
| enum | Lumiverse::LOG_LEVEL { Lumiverse::LDEBUG = 0, Lumiverse::INFO = 1, Lumiverse::WARN = 2, Lumiverse::ERR = 3, Lumiverse::CRITICAL = 4, Lumiverse::FATAL = 5 } |
| Log detail level. More... | |
Functions | |
| void | Lumiverse::Logger::setLogFile (string name) |
| Open a log file for writing to instead of writing to stdout. More... | |
| string | Lumiverse::Logger::printTime () |
| Sticks the current time and date into a string. More... | |
| string | Lumiverse::Logger::printLevel (LOG_LEVEL level) |
| Translates the log level to a string. More... | |
| void | Lumiverse::Logger::log (LOG_LEVEL level, string message) |
| Logs a meesage to the output file. More... | |
| void | Lumiverse::Logger::setLogLevel (LOG_LEVEL level) |
| Sets the logLevel. More... | |
Variables | |
| static unsigned int | Lumiverse::Logger::logLevel = 0 |
| Sets the minimum logging level. More... | |
| static ofstream | Lumiverse::Logger::logFile |
| Log file. More... | |
Contains functions for logging information to console or file.
1.8.10