29 DEBUG_LEVEL_DISABLED = 0,
30 DEBUG_LEVEL_MESSAGE = 1,
31 DEBUG_LEVEL_WARNING = 2,
32 DEBUG_LEVEL_ERROR = 3,
45 static void createInstance();
46 static void deleteInstance();
47 static void setDebugLevel(DebugLevel level);
62 class StringBuffer :
public std::stringbuf {
90 void writeIDEDebugString(
const std::string& message, MessageType type);
96 void writeMessage(
const std::string& message);
97 void writeWarning(
const std::string& message);
98 void writeError(
const std::string& message);
100 void appendToFile(
const std::string& message);
102 void writeMessage(
const std::string& message, MessageType type);
104 static DebugLevel mDebugLevel;
106 static ofstream logFile;
~Logger()
default destructor
Definition: Logger.h:87
Stores messages about statuses, warning, and errors when computing/solving the matrices.
Definition: Logger.h:19
Turns messages from the logger into streams.
Definition: Logger.h:53
MessageType
Definition: Logger.h:38
Logger()
defualt constructor
Definition: Logger.h:81
DebugLevel
Definition: Logger.h:27