23#include "easylogging++.h"
30 template <
typename T,
typename... Args>
31 inline void debug(
const char *s,
const T &value,
const Args &...args)
34 el::Logger *logr = el::Loggers::getLogger(
"default");
36 logr->debug(s, value, args...);
42 inline void debug(
const T &value)
45 el::Logger *logr = el::Loggers::getLogger(
"default");
52 template <
typename T,
typename... Args>
53 inline void info(
const char *s,
const T &value,
const Args &...args)
55 el::Logger *logr = el::Loggers::getLogger(
"default");
57 logr->info(s, value, args...);
62 inline void info(
const T &value)
64 el::Logger *logr = el::Loggers::getLogger(
"default");
70 template <
typename T,
typename... Args>
71 inline void warn(
const char *s,
const T &value,
const Args &...args)
73 el::Logger *logr = el::Loggers::getLogger(
"default");
75 logr->warn(s, value, args...);
80 inline void warn(
const T &value)
82 el::Logger *logr = el::Loggers::getLogger(
"default");
88 template <
typename T,
typename... Args>
89 inline void error(
const char *s,
const T &value,
const Args &...args)
91 el::Logger *logr = el::Loggers::getLogger(
"default");
93 logr->error(s, value, args...);
98 inline void error(
const T &value)
100 el::Logger *logr = el::Loggers::getLogger(
"default");
void info(const char *s, const T &value, const Args &...args)
log info
Definition log.h:53
void debug(const char *s, const T &value, const Args &...args)
log debug
Definition log.h:31
void error(const char *s, const T &value, const Args &...args)
log error
Definition log.h:89
void warn(const char *s, const T &value, const Args &...args)
log warning
Definition log.h:71