From 235834b33ce6f73736f6ead1763ce87b429914db Mon Sep 17 00:00:00 2001 From: fooinha Date: Tue, 16 Dec 2014 15:17:21 +0000 Subject: [PATCH] * update README example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15643950..380f0c96 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,8 @@ int main(int, char* []) // syslog example // #ifdef __linux__ - auto syslog_logger = spd::syslog_logger("syslog"); + std::string ident = "my_app"; + auto syslog_logger = spd::syslog_logger("syslog", ident, spd::sinks::syslog::option::PID | spd::sinks::syslog::option::PERROR, "mail" ); syslog_logger->warn("This is warning that will end up in syslog. This is Linux only!"); #endif }