projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added check for 'region' symbol
[supertux.git]
/
src
/
log.hpp
diff --git
a/src/log.hpp
b/src/log.hpp
index
eb14069
..
9cd5a62
100644
(file)
--- a/
src/log.hpp
+++ b/
src/log.hpp
@@
-30,22
+30,22
@@
namespace {
inline std::ostream& log_debug_f(const char* file, int line) {
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) {
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) {
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) {
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;
}
return Console::output;
}
@@
-73,7
+73,7
@@
inline std::ostream& log_fatal_f() {
}
#define log_debug if (0) std::cerr
}
#define log_debug if (0) std::cerr
-#define log_info
Console::outp
ut
+#define log_info
std::co
ut
#define log_warning log_warning_f()
#define log_fatal log_fatal_f()
#define log_warning log_warning_f()
#define log_fatal log_fatal_f()
@@
-81,6
+81,7
@@
inline std::ostream& log_fatal_f() {
class Vector;
std::ostream& operator<< (std::ostream& str, const Vector& vector);
class Vector;
std::ostream& operator<< (std::ostream& str, const Vector& vector);
+class Rect;
+std::ostream& operator<< (std::ostream& str, const Rect& rect);
#endif
#endif
-