Commit Graph

4290 Commits

Author SHA1 Message Date
gabime
4bb1c9589b Minor fixes 2023-09-22 18:24:45 +03:00
gabime
82069b2455 Fixed include <version> 2023-09-22 18:24:45 +03:00
gabime
767ef493f7 Added source_location tests 2023-09-22 18:24:45 +03:00
gabime
5ae1ace844 Added loc_with_fmt overload with runtime_format_string 2023-09-22 18:24:45 +03:00
gabime
bcc24961a0 Added forgotten inline keywords 2023-09-22 18:24:45 +03:00
gabime
a7a537216c Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
gabime
af2f24de07 Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
gabime
5882bfd0ad Simplify by replacing is_convertible_to_sv with string_view_t param 2023-09-22 18:24:45 +03:00
gabime
3eea04bcd3 Simplify by replacing is_convertible_to_sv with string_view_t param 2023-09-22 18:24:45 +03:00
gabime
b19ceb6d0a Remove refs from format_string param 2023-09-22 18:24:45 +03:00
gabime
cead430eed Fixed compile 2023-09-22 18:24:45 +03:00
gabime
ef846a6502 Update readme 2023-09-22 18:24:45 +03:00
gabime
75b1da2c12 Update readme 2023-09-22 18:24:45 +03:00
gabime
90e92438c8 clang format 2023-09-22 18:24:45 +03:00
gabime
1faeb5b6fa Minor cleanups 2023-09-22 18:24:45 +03:00
gabime
501e3480ca Require c++17 at mimumum 2023-09-22 18:24:45 +03:00
gabime
b3ab35cf8e Fix issues with string view 2023-09-22 18:24:45 +03:00
gabime
b2372fd076 Enable std::source_location if SPDLOG_EMIT_SOURCE_LOCATION is defined 2023-09-22 18:24:45 +03:00
gabime
1f2561c548 Fixed tests. remove logging of numbers directly 2023-09-22 18:24:45 +03:00
gabime
ac6b7ec87e check should_log in log_with_format_ 2023-09-22 18:24:45 +03:00
gabime
f755cfc0e7 Added move test to circular_q 2023-09-22 18:24:45 +03:00
gabime
db76ab6c9f Fixed README.md and example.cpp 2023-09-22 18:24:45 +03:00
gabime
9d6dd2a691 Fixed warning for example 2023-09-22 18:24:45 +03:00
gabime
19d4e60561 Replaced details::make_unique with std::make_unique 2023-09-22 18:24:45 +03:00
gabime
866744e40e Added ci for SPDLOG_USE_STD_FORMAT=ON option 2023-09-22 18:24:45 +03:00
gabime
75028b3d40 Added ci for SPDLOG_USE_STD_FORMAT=ON option 2023-09-22 18:24:45 +03:00
gabime
90127164de Added ci for SPDLOG_USE_STD_FORMAT=ON option 2023-09-22 18:24:45 +03:00
gabime
e6b894665c Added ci for SPDLOG_USE_STD_FORMAT=ON option 2023-09-22 18:24:45 +03:00
gabime
243a840da7 Fixed test when using std format 2023-09-22 18:24:45 +03:00
gabime
32b2fa8877 Fixed tests 2023-09-22 18:24:45 +03:00
gabime
4965d6ef68 Bumped bundled fmt to version 10.1.1 2023-09-22 18:24:45 +03:00
gabime
11770fc7e5 Added comment in ringbuffer_sink.h 2023-09-22 18:24:45 +03:00
gabime
8f7400731e ringbuffer_sink: replaced last_raw() and last_formatted() with drain_raw() and drain_formatted() and added tests 2023-09-22 18:24:45 +03:00
gabime
d8829e7714 Added [[nodiscard]] qualifiers to circular_q 2023-09-22 18:24:45 +03:00
gabime
55f84d458b Return true from details::circular_q::full() if capacity is 0 2023-09-22 18:24:45 +03:00
gabime
a8b74096b2 Simplified details::circular_q by removing iterator support and updated tests 2023-09-22 18:24:45 +03:00
gabime
aacea38f9d Updated details::circular_q and added some tests for it 2023-09-22 18:24:45 +03:00
gabime
820baa886c Updated details::circular_q and added some tests for it 2023-09-22 18:24:45 +03:00
gabime
202260719f merge 2023-09-22 18:24:45 +03:00
gabime
647fc3ab56 Fix ci 2023-09-22 18:24:45 +03:00
gabime
39b6ead2bc Fix ci 2023-09-22 18:24:45 +03:00
gabime
bc3ef7d334 Fix ci 2023-09-22 18:24:45 +03:00
gabime
69149a3c76 Rebase v1.x 2023-09-22 18:24:45 +03:00
gabime
5993e78aac Removed SPDLOG_WCHAR_SUPPORT macro 2023-09-22 18:24:45 +03:00
gabime
7c054b6dba Inlined sink_it_ 2023-09-22 18:24:45 +03:00
gabime
54d402e094 Fixed tidy warning 2023-09-22 18:24:45 +03:00
gabime
6a53d6354b minor cleanup 2023-09-22 18:24:45 +03:00
gabime
a38add8456 Removed SPDLOG_NO_TLS and updated cmake 2023-09-22 18:24:45 +03:00
gabime
e1ee0c62a7 Replaced SPDLOG_CONSTEXPR and SPDLOG_NOEXCEPT macros with c++20 keywords 2023-09-22 18:24:45 +03:00
gabime
d7db2cf3aa Added some [[nodiscard]] annotations 2023-09-22 18:24:45 +03:00