github gabime/spdlog v1.8.0
Version 1.8.0

latest releases: v1.14.1, v1.14.0, v1.13.0...
3 years ago
  • 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() and should_log() functions to the spdlog:: namespace (#1628). Thanks @eyalroz.
  • Fixed tcp_client for macOS (#1640). Thanks @dkruempe.
  • 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).

Don't miss a new spdlog release

NewReleases is sending notifications on new releases.