Commit Graph

4318 Commits

Author SHA1 Message Date
gabime
5683d16b36 Fix atomic level 2023-09-23 00:55:47 +03:00
gabime
7d9cf59649 Fix atomic level 2023-09-23 00:46:15 +03:00
gabime
31a7dc6e1e Fix atomic level 2023-09-23 00:42:36 +03:00
gabime
3a405ba958 Fix atomic level 2023-09-23 00:30:24 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
ac2955cb48 Use std::array for string levels storage 2023-09-22 23:20:54 +03:00
gabime
96bed42974 Clean level names logic and inline them 2023-09-22 21:38:04 +03:00
gabime
3d5ddea136 Use std::vformat 2023-09-22 18:24:45 +03:00
gabime
a3ef3ab7a4 Removed SPDLOG_FMT_STRING 2023-09-22 18:24:45 +03:00
gabime
25f64bcfb6 Updated ci 2023-09-22 18:24:45 +03:00
gabime
b777497b0d Removed un needed inline specifier 2023-09-22 18:24:45 +03:00
gabime
98415979d2 Validate that c++20 if SPDLOG_USE_FMT_FORMAT=ON 2023-09-22 18:24:45 +03:00
gabime
5c93f5ff34 Revert last commit 2023-09-22 18:24:45 +03:00
gabime
9c1e1c85aa Removed un needed loc_with_fmt constructor 2023-09-22 18:24:45 +03:00
gabime
89ccf2a6ab Removed clang with std::format from ci 2023-09-22 18:24:45 +03:00
gabime
8488b027e9 Formatting 2023-09-22 18:24:45 +03:00
gabime
ad18d4e1cb Added missing include to <spdlog/fmt/xchar.h> 2023-09-22 18:24:45 +03:00
Gabi Melman
3289e5ecae Update ci.yml 2023-09-22 18:24:45 +03:00
gabime
c0c1b49fa3 Fixed soruce location macro names 2023-09-22 18:24:45 +03:00
gabime
3979bd15f7 Fixed build 2023-09-22 18:24:45 +03:00
Gabi Melman
536da46a2c Changed macro name to SPDLOG_EMIT_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
Gabi Melman
ce6bccb194 Fixed logger::log with std::format under msvc 2023-09-22 18:24:45 +03:00
Gabi Melman
d8164fe398 Removed async test when using std format due to invalid runtime format string 2023-09-22 18:24:45 +03:00
Gabi Melman
768de091ee Update common.h 2023-09-22 18:24:45 +03:00
Gabi Melman
2718d4671b Update common.h 2023-09-22 18:24:45 +03:00
Gabi Melman
e1c7e6fde4 Update logger.h 2023-09-22 18:24:45 +03:00
Gabi Melman
fb40b49ef0 Update logger.h 2023-09-22 18:24:45 +03:00
Gabi Melman
fd91561734 Update test_circular_q.cpp 2023-09-22 18:24:45 +03:00
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