33 #ifndef DART_COMMON_CONSOLE_HPP_
34 #define DART_COMMON_CONSOLE_HPP_
40 #define dtmsg (::dart::common::colorMsg("Msg", 32))
43 #define dtdbg (::dart::common::colorMsg("Dbg", 36))
46 #define dtwarn (::dart::common::colorErr("Warning", __FILE__, __LINE__, 33))
49 #define dterr (::dart::common::colorErr("Error", __FILE__, __LINE__, 31))
55 std::ostream&
colorMsg(
const std::string& _msg,
int _color);
58 std::ostream&
colorErr(
const std::string& _msg,
59 const std::string& _file,
67 auto operator<<(std::ostream& os,
const T& t) -> decltype(t.print(os), os)
std::ostream & colorMsg(const std::string &_msg, int _color)
Definition: Console.cpp:40
std::ostream & colorErr(const std::string &_msg, const std::string &_file, unsigned int _line, int _color)
Definition: Console.cpp:46
Definition: BulletCollisionDetector.cpp:63
auto operator<<(std::ostream &os, const T &t) -> decltype(t.print(os), os)
Definition: Console.hpp:67