log: Distinguished debug output with prefix

This commit is contained in:
Paul Beckingham 2016-05-28 14:14:23 -04:00
parent 3c3fdc98f3
commit f9568d1ca7

View file

@ -41,7 +41,7 @@ void enableDebugMode (bool value)
void debug (const std::string& msg)
{
if (debugMode)
std::cout << Color ("gray4").colorize (msg) << "\n";
std::cout << Color ("gray4").colorize (">> " + msg) << "\n";
}
////////////////////////////////////////////////////////////////////////////////