- #include <boost/log/trivial.hpp>
- #include <iomanip>
- const char *trim_path(const char *filepath);
- #define BUGZ_LOG(severity) \
- BOOST_LOG_TRIVIAL(severity) \
- << "(" << std::setw(15) << trim_path(__FILE__) << ":" << std::setw(4) \
- << std::left << __LINE__ << ") "
-
|