spdlog v1.8.1 Release Notes
Release Date: 2020-09-30 // almost 4 years ago-
- Fixed
load_env_levels()
andload_argv_levels()
#1680 (thanks @Tridacnid ). - ๐ Fixed
stdout sink
that produced extra carriage returns on Windows #1675 (thanks @chris-t-w ). - ๐ Fixed
msvc_sink
including windows.h #1667 (thanks @Ryan-rsm-McKenzie). - ๐ Fixed
stopwatch
's clock to usechrono::steady_clock
#1676 (thanks @SuperWig). - โ Added support for Rcpp (R cpp compiler) #1685 (thanks @eddelbuettel).
- Fixed
Previous changes from v1.8.0
-
- Upgraded bundled fmt to version 7.0.3.
๐ New stopwatch utility for quick & easy logging of elapsed time:
include "spdlog/stopwatch.h"void stopwatch_example() { spdlog::stopwatch sw; // do some work..spdlog::debug("Elapsed: {} seconds", sw); // => "Elapsed 0.005116733 seconds"spdlog::debug("Elapsed: {:.3} seconds", sw); // => "Elapsed 0.005 seconds"}
Raised CMake requirement to 3.10 and cleanup CMakeLists.txt (#1624). Thanks @tambry.
Added
get_level()
andshould_log()
functions to thespdlog::
namespace (#1628). Thanks @eyalroz.Fixed
cfg::load_env_levels()
function declaration (#1651). Thanks @bareya.โก๏ธ Updated Fedora install info in the readme (#1653). Thanks @gk6k6k.
๐ Fixed #1617 (aligned function pattern flag is broken). Thanks @VelocityRa for reporting.
๐ Fixed #1581 (compiling under msys in win10).