string printTime()
Sticks the current time and date into a string.
Definition: Logger.cpp:16
static ofstream logFile
Log file.
Definition: Logger.h:51
string printLevel(LOG_LEVEL level)
Translates the log level to a string.
Definition: Logger.cpp:34
void setLogLevel(LOG_LEVEL level)
Sets the logLevel.
Definition: Logger.cpp:67
void setLogFile(string name)
Open a log file for writing to instead of writing to stdout.
Definition: Logger.cpp:11
void log(LOG_LEVEL level, string message)
Logs a meesage to the output file.
Definition: Logger.cpp:46
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2
static unsigned int logLevel
Sets the minimum logging level.
Definition: Logger.h:44
LOG_LEVEL
Log detail level.
Definition: Logger.h:22