51 std::string
colour(Colour c);
57 int_type overflow(int_type c) {
60 else if (c != traits_type::eof())
82 class NullBuffer :
public std::streambuf
85 int_type overflow(int_type c) {
return c; }
86 int sync() {
return 0; }
90 extern std::ostream info;
91 extern std::ostream warn;
92 extern std::ostream error;
93 extern std::ostream debug;
Buffer for (possibly coloured) log printing.
Definition: log.hpp:31
std::string colour(Colour c)
Change the colour of the output, e.g.
Definition: log.cpp:56
std::string plain()
Reset the colour of the output, e.g.
Definition: log.cpp:65