mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Compare commits
3 Commits
v1.15.3
...
fmt-11.2.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
14ab43ec0b | ||
![]() |
ebf72d7d3e | ||
![]() |
829deec2ee |
@@ -95,7 +95,7 @@ SPDLOG_API void set_error_handler(void (*handler)(const std::string &msg));
|
||||
SPDLOG_API void register_logger(std::shared_ptr<logger> logger);
|
||||
|
||||
// Register the given logger with the given name
|
||||
// Will replace any existing logger with the same name.
|
||||
// Will replace any the existing logger with the same name if exists.
|
||||
SPDLOG_API void register_or_replace(std::shared_ptr<logger> logger);
|
||||
|
||||
// Apply a user-defined function on all registered loggers
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
#define SPDLOG_VER_MAJOR 1
|
||||
#define SPDLOG_VER_MINOR 15
|
||||
#define SPDLOG_VER_PATCH 3
|
||||
#define SPDLOG_VER_PATCH 2
|
||||
|
||||
#define SPDLOG_TO_VERSION(major, minor, patch) (major * 10000 + minor * 100 + patch)
|
||||
#define SPDLOG_VERSION SPDLOG_TO_VERSION(SPDLOG_VER_MAJOR, SPDLOG_VER_MINOR, SPDLOG_VER_PATCH)
|
||||
|
Reference in New Issue
Block a user