Merge pull request #20 from fooinha/syslog-openlog

Syslog openlog
This commit is contained in:
Gabi Melman
2014-12-18 20:42:51 +02:00
9 changed files with 75 additions and 18 deletions

View File

@@ -96,7 +96,8 @@ std::shared_ptr<logger> stderr_logger_st(const std::string& logger_name);
// Create a syslog logger
//
#ifdef __linux__
std::shared_ptr<logger> syslog_logger(const std::string& logger_name);
std::shared_ptr<logger> syslog_logger(const std::string& logger_name, const std::string& ident = "", int option = static_cast<int>(sinks::syslog::option::PID), const std::string &facility = "user");
#endif
//