17 #ifndef DEFAULTLOGGER_HPP_
18 #define DEFAULTLOGGER_HPP_
22 #include <boost/log/trivial.hpp>
37 void log (
LogLevel level,
const char *message)
const {
41 BOOST_LOG_TRIVIAL(
trace) << message;
44 BOOST_LOG_TRIVIAL(
debug) << message;
47 BOOST_LOG_TRIVIAL(
info) << message;
50 BOOST_LOG_TRIVIAL(warning) << message;
53 BOOST_LOG_TRIVIAL(
error) << message;
56 BOOST_LOG_TRIVIAL(
fatal) << message;
void warn(const char *message) const
void ftrace(const char *message) const
void trace(const char *message) const
void fatal(const char *message) const
void debug(const char *message) const
void error(const char *message) const
void info(const char *message) const