Commit Graph

96 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
8dc7ba7e3d Cleaned tests 2023-09-29 00:45:09 +03:00
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +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
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
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +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
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
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
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
bffceb90b0 Fixed circular_q size impl and added tests 2023-08-05 17:03:04 +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
Vitaly Zaitsev
7f09c88817
Added Catch v3 support (#2661)
* Added Catch v3 support.

* Removed extra square brackets from some tests.
2023-03-01 13:51:04 +02:00
gabime
8be5b41a2f revert pr #2656 2023-03-01 01:12:50 +02:00
Vitaly Zaitsev
2a6d3e9f3b
Added Catch v3 support. (#2656) 2023-03-01 00:16:39 +02:00
Mohammad Ali
3cab260814
Add a trivial callback sink (#2610)
Add a trivial callback sink
2023-01-19 19:46:34 +02:00
gabime
231ca50700 clang-format 2020-09-26 15:34:05 +03:00
gabime
d6329b9dce Added some stopwatch tests 2020-08-29 03:25:16 +03:00
gabime
cd701761f9 clang-format 2020-08-26 00:10:05 +03:00
Raul Tambre
76cdeb62e3 Don't enable C language in CMake
spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
2020-07-21 11:39:40 +03:00
Raul Tambre
ae9627c64c Raise CMake requirement to 3.13
* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
2020-07-20 22:03:50 +03:00
gabime
a0dae55a69 Revert 7f15fb2a21 since it breaks the ABI 2020-06-07 14:38:16 +03:00
Tamas Florin
071206ef59 Add support for custom filename calculator in rotating_file_sink. 2020-06-04 13:38:21 +03:00
gabime
75c15e8028 Formatted cmake 2020-05-02 11:42:08 +03:00
gabime
ff0e430e46 Formatted cmake using cmake-format 2020-05-02 11:38:14 +03:00
Bruce Mitchener
937fe7e909 cmake: Fix tabs, whitespace at EOL. 2020-05-02 07:17:15 +07:00
Ron Rechenmacher
9e6f5b6b2d add single logger method and log_msg constructor and tests/test_time_point.cpp 2020-04-18 08:58:11 -05:00
gabime
854abdf5e6 Added cmake option SPDLOG_BUILD_ALL 2020-04-12 02:43:42 +03:00
gabime
7efdcc26fe CMakeLists.txt: use same policy as fmt 2020-03-15 18:41:34 +02:00
gabime
3ab3970dd2 CMakeLists.txt: use same policy as fmt 2020-03-15 18:40:42 +02:00
gabime
c10be7eaec merge with v1.x 2020-02-26 18:13:13 +02:00
Gabi Melman
fccee959b1
Merge pull request #1418 from ban-dana/v1.x
Add eventlog_sink for logging to Windows Event Log (local only)
2020-02-09 23:27:00 +02:00
Michael R. Crusoe
a8d6e60ec6
Enable running the tests against an installed copy of spdlog 2020-02-07 15:39:26 +01:00
tt4g
eb234bbf91 Don't run spdlog-utests and spdlog-utests-ho in parallel
spdlog-utests and spdlog-utests-ho use the same log output directory, so some tests will randomly fail when run in parallel.
2020-02-07 22:20:54 +09:00
bandana2004
db1a221427 Add eventlog_sink for logging to Windows Event Log (local only). 2020-02-07 15:04:47 +02:00
gabime
877eee408e renamed loaders with cfg 2019-12-22 20:40:19 +02:00
gabime
1f8e9ad0fc renamed cfg namespace to loaders 2019-12-21 19:45:14 +02:00
gabime
e13e978af4 added loaders tests 2019-12-21 19:25:54 +02:00
gabime
21f7f78130 Update tests CMakeLists.txt 2019-11-04 23:16:44 +02:00
gabime
10116b7717 Removed SPDLOG_NO_DATETIME option 2019-11-04 17:43:30 +02:00
gabime
18edb8bd63 Added tweakme options to CMakeLists.txt 2019-11-04 17:19:18 +02:00
gabime
2b8afb38b7 Revert pull #1288 2019-10-28 23:41:40 +02:00