Files
spdlog/example
Gabi Melman f1cc976ea2 Update docs and examples for v2.x release (#3591)
* Update docs and examples for v2.x release

- Add "What's new in v2.x" section to README
- Update all code examples to use v2.x API (spdlog::create<Sink> instead of removed convenience functions)
- Remove references to removed features (cfg/, async.h, spdlog::get, flush_every)
- Fix stale include paths (bin_to_hex.h, async_sink.h)
- Update INSTALL with current requirements (C++17, CMake 3.23)
- Add CHANGELOG.md documenting all breaking changes and migration guide
- Fix android_logger_mt in example.cpp

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Complete the "What's new in v2.x" section in README

Add missing breaking changes: std::format removal, backtrace removal,
cfg/ module removal, wide-char removal, flush_every removal, SPDLOG_EOL
removal, logger destructor change, CMake version bump.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Complete the full list of v2.x breaking changes

Add missing items: filename_t changed to std::filesystem::path, level
enum class change, default_logger renamed to global_logger, full registry
removal (register_logger/drop/drop_all/apply_all), init_thread_pool
removal, bundled fmt headers moved, log_msg field rename, tweakme.h
removal, noexcept on all log methods, SPDLOG_NOEXCEPT/CONSTEXPR macros
removed, -inl.h files removed, source_loc changes, err_helper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:16:11 +03:00
..
2024-12-01 18:29:04 +02:00