diff options
| author | Christoph Berg <myon@debian.org> | 2021-09-09 22:49:00 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-09-09 22:49:00 +0200 |
| commit | 85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 (patch) | |
| tree | 79807e00771e4af4ce279e368262f2222806102f /WSJTXLogging.cpp | |
| parent | 2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (diff) | |
New upstream version 2.5.0~rc6+repackupstream/2.5.0_rc6+repack
Diffstat (limited to 'WSJTXLogging.cpp')
| -rw-r--r-- | WSJTXLogging.cpp | 6 |
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 |
