1 #ifndef BENCHMARK_COLORPRINT_H_
2 #define BENCHMARK_COLORPRINT_H_
20 std::string
FormatString(const char* msg
, va_list args
);
21 std::string
FormatString(const char* msg
, ...);
23 void ColorPrintf(std::ostream
& out
, LogColor color
, const char* fmt
,
25 void ColorPrintf(std::ostream
& out
, LogColor color
, const char* fmt
, ...);
27 // Returns true if stdout appears to be a terminal that supports colored
28 // output, false otherwise.
29 bool IsColorTerminal();
31 } // end namespace benchmark
33 #endif // BENCHMARK_COLORPRINT_H_