diff --git a/CHANGELOG.md b/CHANGELOG.md index 71ef39e8..1f47cf5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +- [v3.3.2](#v332) - [v3.3.1](#v331) - [v3.3.0](#v330) - [v3.2.0](#v320) @@ -50,6 +51,14 @@ - [v1.1.0](#v110) - [v1.0.0](#v100) +## v3.3.2 + +- Resolved "bad_variant_access" error occurring when using Quill as a pre-compiled library with a distinct queue + type. ([#276](https://github.com/odygrd/quill/pull/276)) + +- Resolved a bug in `RotatingFileHandler` associated with logfiles located outside the working directory, + specifically when used with open_mode `a`. ([#340](https://github.com/odygrd/quill/pull/340)) + ## v3.3.1 - Fixed `RotatingFileHandler` to prevent accidental removal of non-log files when using open mode `w` diff --git a/quill/include/quill/Quill.h b/quill/include/quill/Quill.h index ab70458d..108fedd2 100644 --- a/quill/include/quill/Quill.h +++ b/quill/include/quill/Quill.h @@ -33,7 +33,7 @@ namespace quill /** Version Info **/ constexpr uint32_t VersionMajor{3}; constexpr uint32_t VersionMinor{3}; -constexpr uint32_t VersionPatch{1}; +constexpr uint32_t VersionPatch{2}; constexpr uint32_t Version{VersionMajor * 10000 + VersionMinor * 100 + VersionPatch}; /** forward declarations **/ @@ -322,7 +322,7 @@ void remove_logger(Logger* logger); * * @note This function will not do anything if called while the backend worker is not running */ -void flush(); +inline void flush() { detail::LogManagerSingleton::instance().log_manager().flush(); } /** * Wakes up the backend logging thread on demand. diff --git a/quill/src/Quill.cpp b/quill/src/Quill.cpp index 95bde6a3..4e1840ed 100644 --- a/quill/src/Quill.cpp +++ b/quill/src/Quill.cpp @@ -165,9 +165,6 @@ void remove_logger(Logger* logger) detail::LogManagerSingleton::instance().log_manager().logger_collection().remove_logger(logger); } -/***/ -void flush() { detail::LogManagerSingleton::instance().log_manager().flush(); } - /***/ void wake_up_logging_thread() {