v3.4.0
版本发布时间: 2023-11-05 21:46:24
odygrd/quill最新发布版本:v7.0.0(2024-09-06 06:50:45)
-
Resolved
bad_variant_access
error occurring when using Quill as a pre-compiled library with a distinct queue type. (#276) -
Resolved a bug in
RotatingFileHandler
associated with logfiles located outside the working directory, specifically when used with open_modea
. (#340) -
Added a
name()
method to the Logger class which provides the logger name. (#345) -
Fixed library and include paths in the pkg-config configuration. (#352)
-
Move
get_root_logger()
definition from cpp to the header file (#348) -
Introduced support for logging character arrays. You can now log character arrays, even when they don't contain a null-terminating character. Additionally, character arrays with null characters in the middle are supported, and the logger will capture the content until the null character is encountered. (#353)
For example
union { char no_0[2]; char mid_0[6]{'1', '2', '3', '4', '\0', 6}; } char_arrays; // only output "12" even if there's no '\0' at the end LOG_INFO(logger, R"(This is a log info example for char array without '\0': {})", char_arrays.no_0); // output "1234" until the '\0' LOG_INFO(logger, R"(This is a log info example for char array with '\0' in middle: {})", char_arrays.mid_0);
-
Minor improvements in
BoundedQueue
andUnboundedQueue
. Throughput is slightly improved. Previous: 2.21 million msgs/sec average, total time elapsed: 1809 ms for 4000000 log messages. New: 2.24 million msgs/sec average, total time elapsed: 1787 ms for 4000000 log messages. -
Disable
fmt::join(data, "")
at compile time. (#356) -
Fix compile error in Apple Clang 12. (#360)
-
Add guards for redefined preprocessor variables.
-
Fix
uint64_t
totime_t
implicit conversion error in Clang 18. -
Update bundled
libfmt
tov10.1.1