Added autocompletion for current root table /
[supertux.git] / src / log.hpp
index 716c129..b26960a 100644 (file)
 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;
 }
 
@@ -79,5 +79,8 @@ inline std::ostream& log_fatal_f() {
 
 #endif
 
+class Vector;
+std::ostream& operator<< (std::ostream& str, const Vector& vector);
+
 #endif