X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flog.hpp;h=9b2951899c5e1651e9285555407fa967fe3a3a1a;hb=f406067af6cbeb0a638078fe1d386d092583909c;hp=7093dc079341890a1c63fecb322c1c3a2d25462c;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/log.hpp b/src/log.hpp index 7093dc079..9b2951899 100644 --- a/src/log.hpp +++ b/src/log.hpp @@ -60,11 +60,6 @@ inline std::ostream& log_fatal_f(const char* file, int line) { namespace { -inline std::ostream& log_warning_f() { - Console::output << "Warning: "; - return Console::output; -} - inline std::ostream& log_fatal_f() { Console::output << "Fatal: "; return Console::output; @@ -73,8 +68,8 @@ inline std::ostream& log_fatal_f() { } #define log_debug if (0) std::cerr -#define log_info Console::output -#define log_warning log_warning_f() +#define log_info std::cout +#define log_warning std::cerr #define log_fatal log_fatal_f() #endif