X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flog.hpp;h=7093dc079341890a1c63fecb322c1c3a2d25462c;hb=99199c39ed744bf40e3fa60e26ba64c29c014ddc;hp=eb1406922d07a50e81ca894379d26601d1a203d3;hpb=fc73efa7ff699fe3c9c237845b6f4fda0d999862;p=supertux.git diff --git a/src/log.hpp b/src/log.hpp index eb1406922..7093dc079 100644 --- a/src/log.hpp +++ b/src/log.hpp @@ -30,22 +30,22 @@ namespace { inline std::ostream& log_debug_f(const char* file, int line) { - Console::output << "[DEBUG] " << file << " l." << line << ": "; + Console::output << "[DEBUG] " << file << ":" << line << " "; return Console::output; } inline std::ostream& log_info_f(const char* file, int line) { - Console::output << "[INFO] " << file << " l." << line << ": "; + Console::output << "[INFO] " << file << ":" << line << " "; return Console::output; } inline std::ostream& log_warning_f(const char* file, int line) { - Console::output << "[WARNING] " << file << " l." << line << ": "; + Console::output << "[WARNING] " << file << ":" << line << " "; return Console::output; } inline std::ostream& log_fatal_f(const char* file, int line) { - Console::output << "[FATAL] " << file << " l." << line << ": "; + Console::output << "[FATAL] " << file << ":" << line << " "; return Console::output; } @@ -81,6 +81,7 @@ inline std::ostream& log_fatal_f() { class Vector; std::ostream& operator<< (std::ostream& str, const Vector& vector); +class Rect; +std::ostream& operator<< (std::ostream& str, const Rect& rect); #endif -