From 4f3e0bae093cd2e6300957c148b244b4de8905c7 Mon Sep 17 00:00:00 2001 From: Ben RUBSON Date: Mon, 19 Mar 2018 21:38:59 +0100 Subject: [PATCH] Log to stderr instead of stdout (#491) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cab3cb..f7c88b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,6 +139,7 @@ find_package (Threads REQUIRED) # Logging. add_definitions (-DELPP_THREAD_SAFE -DELPP_DISABLE_DEFAULT_CRASH_HANDLING) add_definitions (-DELPP_NO_DEFAULT_LOG_FILE) +add_definitions (-DELPP_CUSTOM_COUT=std::cerr) check_include_file_cxx (syslog.h HAVE_SYSLOG_H) if (HAVE_SYSLOG_H) message ("-- Enabled syslog logging support")