summaryrefslogtreecommitdiff
path: root/WSJTXLogging.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-09-09 22:49:13 +0200
committerChristoph Berg <myon@debian.org>2021-09-09 22:49:13 +0200
commit7aa182cc9860464e41cc8b1ed7ea2419f70deb91 (patch)
treeae7d07f023c64e3faca0b852d67209a205ab2998 /WSJTXLogging.cpp
parent23a6b427e4bf791af53d91784c993b67f47e4635 (diff)
parent85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 (diff)
Update upstream source from tag 'upstream/2.5.0_rc6+repack'
Update to upstream version '2.5.0~rc6+repack' with Debian dir b9d3381eb71d484f93fd73a092484a5814baf716
Diffstat (limited to 'WSJTXLogging.cpp')
-rw-r--r--WSJTXLogging.cpp6
1 files changed, 3 insertions, 3 deletions
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