From 03fcd3b33a85b4c8c7765c41d2b5d0827887f5b5 Mon Sep 17 00:00:00 2001 From: paboyle Date: Wed, 2 Mar 2016 07:01:15 -0800 Subject: [PATCH] Back out of the colour --- lib/Log.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/Log.cc b/lib/Log.cc index b16ac1e7..36d30dde 100644 --- a/lib/Log.cc +++ b/lib/Log.cc @@ -43,7 +43,9 @@ std::string Logger::PURPLE("\033[35m"); std::string Logger::CYAN("\033[36m"); std::string Logger::WHITE("\033[37m"); std::string Logger::NORMAL("\033[0;39m"); +std::string EMPTY(""); +#if 0 GridLogger GridLogError (1,"Error",Logger::RED); GridLogger GridLogWarning (1,"Warning",Logger::YELLOW); GridLogger GridLogMessage (1,"Message",Logger::BLACK); @@ -51,6 +53,15 @@ std::string Logger::NORMAL("\033[0;39m"); GridLogger GridLogPerformance(1,"Performance",Logger::GREEN); GridLogger GridLogIterative (1,"Iterative",Logger::BLUE); GridLogger GridLogIntegrator (1,"Integrator",Logger::BLUE); +#else + GridLogger GridLogError (1,"Error",EMPTY); + GridLogger GridLogWarning (1,"Warning",EMPTY); + GridLogger GridLogMessage (1,"Message",EMPTY); + GridLogger GridLogDebug (1,"Debug",EMPTY); + GridLogger GridLogPerformance(1,"Performance",EMPTY); + GridLogger GridLogIterative (1,"Iterative",EMPTY); + GridLogger GridLogIntegrator (1,"Integrator",EMPTY); +#endif void GridLogConfigure(std::vector &logstreams) {