mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Reverted the version() function
This commit is contained in:
@@ -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
|
@@ -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);
|
||||
//
|
||||
|
Reference in New Issue
Block a user