Commit Graph

500 Commits

Author SHA1 Message Date
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
Gabi Melman
9b3a4e28c5 Copy spdlog dll to the executable folder for example, tests and bench 2023-10-01 17:42:44 +03:00
gabime
a8efa85b86 Remove global console mutex (wip) 2023-10-01 12:20:48 +03:00
Gabi Melman
837fb9b155
fix test_include_sinks.cpp 2023-09-29 02:14:54 +03:00
gabime
8dc7ba7e3d Cleaned tests 2023-09-29 00:45:09 +03:00
gabime
c7b60db679 Cleaned tests 2023-09-29 00:34:48 +03:00
gabime
c542ef5457 Added msvc include test 2023-09-29 00:33:48 +03:00
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00
gabime
c1ffe29b7e Fixed include 2023-09-28 23:00:20 +03:00
gabime
976d3d20b6 Fixed ifdefs 2023-09-28 22:58:50 +03:00
gabime
4bb3b56102 relative includes wip 2023-09-28 00:42:16 +03:00
Gabi Melman
60457b6794
Update test_misc.cpp 2023-09-26 01:49:32 +03:00
gabime
6dffd7c6e8 update clang format again 2023-09-25 16:40:05 +03:00
gabime
968048ced6 Fixed test 2023-09-25 16:29:32 +03:00
gabime
dcd5904bdc Updated clang-format
Merged with origin
2023-09-25 16:11:53 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
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
Gabi Melman
9448d74495 Fixed warning in tests 2023-09-24 00:34:46 +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
7c0afada60 check SPDLOG_SOURCE_LOCATION in macros and in runtime 2023-09-23 02:03:48 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
8488b027e9 Formatting 2023-09-22 18:24:45 +03:00
gabime
c0c1b49fa3 Fixed soruce location macro names 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
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
767ef493f7 Added source_location tests 2023-09-22 18:24:45 +03:00
gabime
90e92438c8 clang format 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
f755cfc0e7 Added move test to circular_q 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
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
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
a8b74096b2 Simplified details::circular_q by removing iterator support and updated tests 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
6cac90b89a clang format 2023-09-22 18:24:45 +03:00
gabime
92daf6954b Removed backtrace feature 2023-09-22 18:24:45 +03:00
gabime
d94830814f Removed SPDLOG_WCHAR_TO_UTF8_SUPPORT 2023-09-22 18:24:45 +03:00
Yubin
b5b5043d42
Support async_overflow_policy::discard_new (#2876)
Reason for the discard_new policy: when there is an overflow, there
is usually some unexpected issue (a bug, or some other unexpected stuff).
And in case of unexpected issue, the first arrived log messages are usually
more important than subsequent ones. For example, some application
keep logging error messages in case of functionality failure, which,
when using async_overflow_policy::overrun_oldest, will overrun the
first arrived messages that may contain real reason for the failure.
2023-09-09 23:05:08 +03:00
gabime
a98d3ab0c7 clang format 2023-09-09 12:56:47 +03:00
albert-github
81ce5fcdb7
Remove obsolete part from cmake configuration files (#2871)
Updating minimum CMake version to 3.11
2023-08-30 23:20:37 +03:00
gabime
811bc4c7a9 Added another test for circular_q 2023-08-05 17:26:16 +03:00
gabime
1f8d36071e Fixed ci 2023-08-05 17:09:12 +03:00
gabime
bffceb90b0 Fixed circular_q size impl and added tests 2023-08-05 17:03:04 +03:00
xvitaly
2ee8bac78e
Added missing square bracket to fix the level_to_string_view test. (#2827) 2023-07-23 11:15:25 +03:00
gabime
7e635fca68 Fixed #2724 by excluding bin_to_hex sink if using std::format 2023-07-08 17:12:25 +03:00
gabime
1f61f5e019 clang format 2023-06-07 13:23:44 +03:00
Gabi Melman
c174c15138
Update test_stopwatch.cpp 2023-05-27 23:05:49 +03:00