Added function to Debug Manager that also outputs if debug is set to 0
This commit is contained in:
@@ -50,6 +50,11 @@ void DebugManager::printDebugMessage(string sender, string message)
|
||||
}
|
||||
}
|
||||
|
||||
void DebugManager::printMessage(string sender, string message)
|
||||
{
|
||||
cout << " at " << sc_time_stamp() << "\t in " << sender << "\t: " << message << endl;
|
||||
}
|
||||
|
||||
void DebugManager::openDebugFile(string filename)
|
||||
{
|
||||
if(debugFile)
|
||||
|
||||
@@ -55,6 +55,7 @@ public:
|
||||
bool writeToFile;
|
||||
|
||||
void printDebugMessage(std::string sender, std::string message);
|
||||
void printMessage(std::string sender, std::string message);
|
||||
void openDebugFile(std::string filename);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user