From df9fc0e20371072cac48e58e5f6bd2e26c3d10e1 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 21 Dec 2014 02:31:10 +0200 Subject: [PATCH] updated example --- README.md | 4 +--- example/example.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c9c34933..39a22fe9 100644 --- a/README.md +++ b/README.md @@ -135,9 +135,7 @@ int main(int, char* []) spdlog::set_async_mode(q_size); auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt"); async_file->info() << "This is async log.." << "Should be very fast!"; - - - + #ifdef __linux__ // syslog example std::string ident = "spdlog-example"; diff --git a/example/example.cpp b/example/example.cpp index c5a576d7..9b8c19b2 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -74,9 +74,7 @@ int main(int, char* []) spdlog::set_async_mode(q_size); auto async_file= spd::daily_logger_st("async_file_logger", "logs/async_log.txt"); async_file->info() << "This is async log.." << "Should be very fast!"; - - - + #ifdef __linux__ // syslog example std::string ident = "spdlog-example";