diff options
author | gabime <gmelman1@gmail.com> | 2019-09-05 19:50:00 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-09-05 19:50:00 +0300 |
commit | 65d02e495e25b6440195481c4e573e65ccf5c939 (patch) | |
tree | e8780c9319bf089a2cce92079c5a2ccfc5e354ba /include/spdlog | |
parent | f196a9fd272f6e9b23c6754ef1c4702f4a4ec769 (diff) |
Reverted the version() function
Diffstat (limited to 'include/spdlog')
-rw-r--r-- | include/spdlog/spdlog-inl.h | 5 | ||||
-rw-r--r-- | include/spdlog/spdlog.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/spdlog/spdlog-inl.h b/include/spdlog/spdlog-inl.h index 5b408678..bbfb6e24 100644 --- a/include/spdlog/spdlog-inl.h +++ b/include/spdlog/spdlog-inl.h @@ -112,9 +112,4 @@ SPDLOG_INLINE void set_default_logger(std::shared_ptr<spdlog::logger> default_lo details::registry::instance().set_default_logger(std::move(default_logger)); } -SPDLOG_INLINE std::string version() -{ - return fmt::format("{}.{}.{}", SPDLOG_VER_MAJOR, SPDLOG_VER_MINOR, SPDLOG_VER_PATCH); -} - } // namespace spdlog
\ No newline at end of file diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 96b6aabf..ccedb28b 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -103,10 +103,6 @@ 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); // |