VERB4D
|
Stores messages about statuses, warning, and errors when computing/solving the matrices. More...
#include <Logger.h>
Classes | |
class | Streamer |
Turns messages from the logger into streams. More... | |
Public Types | |
enum | DebugLevel { DEBUG_LEVEL_DISABLED = 0, DEBUG_LEVEL_MESSAGE = 1, DEBUG_LEVEL_WARNING = 2, DEBUG_LEVEL_ERROR = 3 } |
enum | MessageType { MESSAGE_INFO = 1, MESSAGE_WARNING = 2, MESSAGE_ERROR = 3 } |
Static Public Member Functions | |
static void | createInstance () |
creates logger that will write to log.txt | |
static void | deleteInstance () |
deletes instance of logger and closes log file ('log.txt') | |
static void | setDebugLevel (DebugLevel level) |
Can set the Debug Level. | |
Static Public Attributes | |
static Streamer | message |
static Streamer | warning |
static Streamer | error |
Protected Member Functions | |
Logger () | |
defualt constructor | |
Logger (const Logger &thisobject) | |
copy constructor | |
Logger & | operator= (const Logger &) |
overloaded equal for copy constructor | |
~Logger () | |
default destructor | |
void | writeIDEDebugString (const std::string &message, MessageType type) |
stores message into logger, including message type | |
Stores messages about statuses, warning, and errors when computing/solving the matrices.
enum Logger::DebugLevel |
enum Logger::MessageType |