15 #define PRINT_FUNC Logger::getLogger()->info("%s:%d", __FUNCTION__, __LINE__); 28 Logger(
const std::string& application);
30 static Logger *getLogger();
31 void debug(
const std::string& msg, ...);
32 void printLongString(
const std::string&);
33 void info(
const std::string& msg, ...);
34 void warn(
const std::string& msg, ...);
35 void error(
const std::string& msg, ...);
36 void fatal(
const std::string& msg, ...);
38 std::string& getMinLevel() {
return levelString; }
40 std::string *format(
const std::string& msg, va_list ap);
42 std::string levelString;
Fledge Logger class used to log to syslog.
Definition: logger.h:26
void setMinLevel(const std::string &level)
Set the minimum logging level to report for this process.
Definition: logger.cpp:73