44 setup(
const std::string & log_filename,
45 const bool do_log_to_file,
46 const bool do_log_to_stdout,
47 const level log_level = {});
57 guard(
const std::string & log_filename,
58 const bool do_log_to_file,
59 const bool do_log_to_stdout,
60 const level log_level);
69 info(
const std::string & message);
71 warn(
const std::string & message);
73 error(
const std::string & message);
79 info(
const std::ostream & stream);
81 warn(
const std::ostream & stream);
83 error(
const std::ostream & stream);
guard(const std::string &log_filename, const bool do_log_to_file, const bool do_log_to_stdout, const level log_level)
static void to_stdout(const std::string &message)
static void info_to_log_file(const std::string &message)
static void info(const std::string &message)
static void error(const std::string &message)
static bool setup(const std::string &log_filename, const bool do_log_to_file, const bool do_log_to_stdout, const level log_level={})
static void warn(const std::string &message)
static void info_to_log_file(const std::ostream &stream)
static void to_stdout(const std::ostream &stream)
static void info(const std::ostream &stream)
static void error(const std::ostream &stream)
static void warn(const std::ostream &stream)