Skip to content

Version 1.8.3

Compare
Choose a tag to compare
@gabime gabime released this 24 Mar 20:37
· 809 commits to v1.x since this release
53e1c9a
  • New hourly file sink . Creates new file every hour. Can be limited to retain only the last N files. Thanks @BVonk (#1763).
  • New daily sink filename custom formatting. Users now can pass custom strftime pattern to the log filename. For example: daily_logger_format_mt("loggername", "log-%Y%m%d:%H:%M.txt", hours, minutes);. Thanks @fawdlstty (#1847).
  • Fix windows event sink log compilation with UNICODE preprocessor. Thanks @iko1 (#1760).
  • Add SPDLOG_DISABLE_DEFAULT_LOGGER as a CMake option. Thanks @shimaowo (#1765, #1766).
  • Improve color terminal detection. Thanks @dominicpoeschko (#1768).
  • Prevent windows color sink to leak windows headers into user code Thanks @Ryan-rsm-McKenzie (#1771).
  • Ensure SPDLOG_FMT_EXTERNAL is honored in the bench program. Thanks @Ryan-rsm-McKenzie (#1773).
  • Skip CMake module mode when finding fmt. Thanks @Ryan-rsm-McKenzie (#1774).
  • Better support for "/" separators on Windows, and improve wchar filename test coverage. Thanks @sylveon (#1787).
  • Open files with "ab" mode even if truncating to better support logrotate(8). Thanks @graydon (#1795).
  • Fix compiling error and typo in hourly file sink. Thanks @sillykelvin (#1805).
  • Add constexpr to SPDLOG_LEVEL_NAMES declaration. Thanks @gv-me (#1798).
  • Initializer list style consistency. Thanks @ChristianPanov (#1807).
  • Fix call to non-constexpr function (#1811).
  • Better numeric_limits<>::max/min fix when SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined. Thanks @nukeulater (#1819).
  • Fix to prevent MSVC warning flags to propagate to CUDA. Thanks @prateek9623 (#1825, #1829).
  • Fix windows stdout_sink raising exception when used GUI Windows Apps that lack a console. Thanks @dgehri for reporting (#1828).
  • Simplified wincolor sink code and intensify the red and yellow colors.
  • Set default value to registry::err_handler_ to resolve Klocwork warning. . Thanks @jneruda (#1835).
  • Formatter bench: Fix compilation by avoiding function name decay mechanics. Thanks @MathiasMagnus (#1846).
  • Add build2 package support in readme. Thanks @Klaim (#1851).
  • Make sure __cplusplus is defined under msvc CMakeLists.txt
  • Fixed VS2019 W4 cast warning (#1876).
  • Fix warning whe the compilation flag -Wswitch-default is present. Thanks @imsherlock (#1882).