From 2705e35a8c4cae2cd3e2329197c4945ab0279f79 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 21 Aug 2016 01:21:18 +0300 Subject: [PATCH] updated example --- example/example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example.cpp b/example/example.cpp index b9250678..99c18993 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -105,13 +105,13 @@ void async_example() async_file->info("Async message #{}", i); } -//syslog example (linux/osx only) +//syslog example (linux/osx/freebsd) void syslog_example() { #if defined (__linux__) || defined(__APPLE__) || defined(__FreeBSD__) std::string ident = "spdlog-example"; auto syslog_logger = spd::syslog_logger("syslog", ident, LOG_PID); - syslog_logger->warn("This is warning that will end up in syslog. This is Linux only!"); + syslog_logger->warn("This is warning that will end up in syslog."); #endif }