From 85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Sep 2021 22:49:00 +0200 Subject: New upstream version 2.5.0~rc6+repack --- WSJTXLogging.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WSJTXLogging.cpp') diff --git a/WSJTXLogging.cpp b/WSJTXLogging.cpp index 9cf5da31..ee19c9a0 100644 --- a/WSJTXLogging.cpp +++ b/WSJTXLogging.cpp @@ -93,7 +93,7 @@ namespace << boost::log::add_value ("Line", context.line) << boost::log::add_value ("File", file) << boost::log::add_value ("Function", function) - << msg.toStdWString (); + << msg.toStdString (); } else { @@ -101,7 +101,7 @@ namespace << boost::log::add_value ("Line", context.line) << boost::log::add_value ("File", file) << boost::log::add_value ("Function", function) - << context.category << ": " << msg.toStdWString (); + << context.category << ": " << msg.toStdString (); } } @@ -132,7 +132,7 @@ namespace #else , keywords::file_name = #endif - app_data.absoluteFilePath ("logs/wsjtx_syslog_%Y-%m.log").toStdString () + app_data.absoluteFilePath ("logs/wsjtx_syslog_%Y-%m.log").toStdWString () , keywords::time_based_rotation = sinks::file::rotation_at_time_point (gregorian::greg_day (1), 0, 0, 0) , keywords::open_mode = std::ios_base::out | std::ios_base::app #if BOOST_VERSION / 100 >= 1063 -- cgit v1.2.3