Commit Graph

4333 Commits

Author SHA1 Message Date
gabime
cff3e27115 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:32:48 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
fc81e0390b Removed SPDLOG_COMPILED_LIB/HEADER_ONLY macros from common.h 2023-09-24 13:02:30 +03:00
gabime
b16a8951bc Added more [[nodiscard]] to functions in common 2023-09-24 11:53:04 +03:00
gabime
a34fb3761c Added nodiscard to level_to_number() 2023-09-24 11:50:24 +03:00
gabime
73eb6bc1f5 Replace static_cast with level_to_number in color sinks 2023-09-24 11:48:46 +03:00
Gabi Melman
9448d74495 Fixed warning in tests 2023-09-24 00:34:46 +03:00
Gabi Melman
7d3b5a1b10
Update wincolor_sink-inl.h 2023-09-23 18:45:36 +03:00
gabime
9a7448e4c8 Renamed to level_to_number 2023-09-23 18:21:27 +03:00
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +03:00
gabime
2d801bbd80 Update comment 2023-09-23 02:04:00 +03:00
gabime
7c0afada60 check SPDLOG_SOURCE_LOCATION in macros and in runtime 2023-09-23 02:03:48 +03:00
gabime
ea1c829764 fix warning 2023-09-23 01:53:03 +03:00
Gabi Melman
e315bcb2a9 Fix compilations in windows 2023-09-23 01:48:38 +03:00
gabime
e63d110baa use constexpr for colors in ansicolor_sink 2023-09-23 01:14:20 +03:00
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