Ismail Dönmez 2018-08-13 13:44:46 +00:00 committed by Git OBS Bridge
parent 5a7f778b9d
commit da5c907b97

View File

@ -2,6 +2,7 @@
Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com
- Update to version 1.0.0 - Update to version 1.0.0
- Highlights
* Include what you need: Reduce compilation times by including * Include what you need: Reduce compilation times by including
only the minimum required. Users can now to include only only the minimum required. Users can now to include only
the actual sinks/features they need from spdlog/sinks folder. the actual sinks/features they need from spdlog/sinks folder.
@ -13,48 +14,21 @@ Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com
thread pool by default. thread pool by default.
* periodic flusher: spdlog::flush_every(seconds) to periodically * periodic flusher: spdlog::flush_every(seconds) to periodically
flush all registered loggers. flush all registered loggers.
* Improved performance - by caching some recently used values * Improved performance - by caching some recently used values in
in the pattern formatter. the pattern formatter.
* Ability to add sinks to a logger after its creation * Ability to add sinks to a logger after its creation
* Removed printf support. (but it is not thread safe to do so - so use with caution).
-------------------------------------------------------------------
Mon Aug 13 08:32:18 UTC 2018 - windowskaput@gmail.com
- Update to version 1.0.0
- Highlights
* Include what you need: Reduce compilation times by including only the minimum required. Users can now to include only the actual sinks/features they need from spdlog/sinks folder.
* Upgrade to fmt lib version 5.1 - thanks @vitaut for this great lib.
* Support for custom formatting per sink - each sink can have it's own formatting and level using sink->set_pattern(..) or sink->set_formatter(..).
* async logging - thread pool - async loggers now share a global thread pool by default.
Creating and destroying async loggers is cheap now. This is in contrast to previous versions were creating async loggers was expensive, since each logger instance had its own worker thread and queue.
The global thread pool and can be configured using spdlog::init_thread_pool(queue_size, worker_threads) or created directly using make_shared.
* periodic flusher: spdlog::flush_every(seconds) to periodically flush all registered loggers.
* Improved performance - by caching some recently used values in the pattern formatter.
* Ability to add sinks to a logger after its creation (but it is not thread safe to do so - so use with caution).
- Breaking changes - Breaking changes
* Include what you need. For example to use basic_logger add
* Include what you need. For example to use basic_logger add #include "spdlog/sinks/basic_file_sink.h" (see example in readme). #include "spdlog/sinks/basic_file_sink.h"
* To use async loggers - include "spdlog/async.h" * To use async loggers - include "spdlog/async.h"
* Replaced set_async_mode(..) with factory template. * Replaced set_async_mode(..) with factory template.
* Removed printf support. * Removed printf support.
* Removed warmup/teardown functions from async. * Removed warmup/teardown functions from async.
* Custom sinks inheriting from sinks::base_sink need to format
* Custom sinks inheriting from sinks::base_sink need to format (if needed) the message before sending to their target. (if needed) the message before sending to their target.
* Added clone() virtual function to the formatter interface. * Added clone() virtual function to the formatter interface.
* Removed support for #define SPDLOG_NO_REGISTRY_MUTEX * Removed support for #define SPDLOG_NO_REGISTRY_MUTEX
------------------------------------------------------------------- -------------------------------------------------------------------