Added version() function

This commit is contained in:
gabime
2019-09-05 18:51:28 +03:00
parent d7f05722d4
commit 7f0398ca25
4 changed files with 13 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
#include "spdlog/version.h"
#include "spdlog/details/synchronous_factory.h"
#include <chrono>
#include <functional>
#include <memory>
@@ -102,6 +103,10 @@ void shutdown();
// Automatic registration of loggers when using spdlog::create() or spdlog::create_async
void set_automatic_registration(bool automatic_registation);
// return spdlog version
std::string version();
// API for using default logger (stdout_color_mt),
// e.g: spdlog::info("Message {}", 1);
//