Commit Graph

226 Commits

Author SHA1 Message Date
gabime
b05d9362ea Minor cleanup of includes 2024-03-16 13:51:29 +02:00
gabime
95587b7601 Fix typo 2024-03-16 13:51:29 +02:00
gabime
f743a881b2 merge pull #2978 2024-03-16 13:51:29 +02:00
gabime
69d412b526 Format code of wincolor_sink.cpp 2024-01-14 13:09:58 +02:00
gabime
9294adb335 Fixed os_windows.cpp 2024-01-14 12:19:01 +02:00
gabime
885b796447 Refactored os.cpp to os_unix.cpp and os_windows.cpp 2024-01-14 12:09:22 +02:00
Gabi Melman
6c799d04f8
Fix localtime_s()usage 2024-01-13 20:20:58 +02:00
gabime
aaebfbb5c6 Fixd some clang-tidy warnings 2024-01-13 19:21:41 +02:00
gabime
91bf60a316 Check rv of localtime_r 2024-01-13 19:07:36 +02:00
gabime
ce3922cff1 Fix some typos 2024-01-13 18:53:19 +02:00
gabime
c539f36551 clang format 2024-01-13 18:20:08 +02:00
gabime
947b42b86f Init last_log_secs_ with {} 2024-01-13 10:49:25 +02:00
gabime
e2e8099ad9 Init cached_tm with {} 2024-01-13 10:33:08 +02:00
gabime
77b07b3a10 clang format 2024-01-13 09:37:32 +02:00
gabime
a3e05332b0 Removed fmt wrapper files 2024-01-12 15:52:32 +02:00
gabime
3379f242e1 Check fd_ is not nullptr in file_helper 2024-01-12 14:01:03 +02:00
gabime
1161d640a1 Removed bundled fmtlib. Use FetchContent instead 2023-12-22 16:19:05 +02:00
gabime
bc7e80c7ae Removed include null_mutex.h from common.h 2023-10-21 13:48:19 +03:00
Peter Nemeth
959244b3cd Fix OS availability check of pthread_threadid_np for iOS (#2897) 2023-10-13 11:54:39 +03:00
gabime
ec523b967c Added comment about log_msg_buffer 2023-10-06 17:10:55 +03:00
Gabi Melman
7ba9a04fae
Update bundled_fmtlib_format.cpp 2023-10-02 20:16:12 +03:00
gabime
61b11e77b9 constexpr support for source location without leading directory 2023-10-01 23:54:54 +03:00
gabime
bd00a0081a fix typo in comment 2023-10-01 18:11:02 +03:00
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
gabime
754838c558 Fixed template instantiations in ansicolor_sink.cpp 2023-10-01 17:59:17 +03:00
Gabi Melman
08648e58ad Fixed wincolor sink 2023-10-01 15:18:55 +03:00
Gabi Melman
2a101ac559 Removed ref from to_string_ in ansicolor sink 2023-10-01 15:05:03 +03:00
gabime
9390881046 Retruned color codes to ansi-color header 2023-10-01 13:32:18 +03:00
gabime
a8efa85b86 Remove global console mutex (wip) 2023-10-01 12:20:48 +03:00
Gabi Melman
5abca1748f
Fixes wincolor_sink.cpp 2023-09-29 02:04:24 +03:00
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00
gabime
a0e631802c Replaced include <spdlog/..> with include "spdlog/.." 2023-09-29 00:06:17 +03:00
Gabi Melman
605f037e4e
Update pattern_formatter.cpp 2023-09-26 02:03:12 +03:00
Gabi Melman
6eef69e4ac
Update pattern_formatter.cpp 2023-09-26 01:46:17 +03:00
gabime
6dffd7c6e8 update clang format again 2023-09-25 16:40:05 +03:00
gabime
f36b2c5f93 reformat code 2023-09-25 16:19:27 +03:00
gabime
dcd5904bdc Updated clang-format
Merged with origin
2023-09-25 16:11:53 +03:00
Gabi Melman
2ed4e161e0
Update logger.cpp 2023-09-25 06:18:00 +03:00
Gabi Melman
84bee1d484
Update logger.cpp 2023-09-25 06:15:14 +03:00
Gabi Melman
d1a47cd553
Rename .helpers.cpp to helpers.cpp 2023-09-25 06:12:03 +03:00
gabime
2896bbe77d Never sort includes in clang format 2023-09-25 05:03:16 +03:00
Gabi Melman
1797166190 Fixed windows compile 2023-09-25 04:56:36 +03:00
gabime
6de0ffa15f Updated clang format to google style 2023-09-25 02:35:55 +03:00
gabime
96403787f7 Updated format.sh script 2023-09-25 02:20:13 +03:00
Gabi Melman
5e59b396b0
Update wincolor_sink.cpp 2023-09-24 21:40:19 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
5654205d6b updated template instantiations 2023-09-24 20:34:09 +03:00
gabime
f3bf9e78c3 wip static_only 2023-09-24 20:29:33 +03:00
gabime
2a1959c2ce wip static_only 2023-09-24 20:26:32 +03:00
gabime
ab86471489 created sinks fmt and details folders in src 2023-09-24 16:56:05 +03:00
gabime
9d04001fbc created sinks fmt and details folders in src 2023-09-24 16:54:02 +03:00
gabime
cff3e27115 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:32:48 +03:00
gabime
4965d6ef68 Bumped bundled fmt to version 10.1.1 2023-09-22 18:24:45 +03:00
gabime
92daf6954b Removed backtrace feature 2023-09-22 18:24:45 +03:00
gabime
27c518d509 Updated bundled fmt to version 10.0.0 2023-09-22 18:24:45 +03:00
gabime
4338b9cd23 Revert "Updated bundled fmt to version 10.0.0"
This reverts commit 62e55e7a7f.
2023-07-08 13:23:40 +03:00
gabime
62e55e7a7f Updated bundled fmt to version 10.0.0 2023-07-02 20:47:33 +03:00
gabime
b59b4a2b45 Rvert suppressing msvc2017 warnings and fix ci instead 2022-10-31 22:52:01 +02:00
gabime
14a29c03eb suppress warning 4307 when including format-inline.h under msvc 2017 2022-10-31 17:47:12 +02:00
gabime
9125bda301 suppress "integral constant overflow" warning under msvc 2017 2022-10-31 17:03:53 +02:00
gabime
3499dfeeb4 Bump bundled fmtlib to version 1.9.1 2022-10-31 13:47:47 +02:00
Gabi Melman
b3ce5ed379
Remove comment 2022-04-21 15:24:37 +03:00
Aengus.Jiang
184fae06d7 clean code, clean up the warning 2022-04-10 13:13:59 +08:00
gabime
c432fdd987 Bump fmt to version 8.1.1 and run clang-format 2022-02-12 13:20:15 +02:00
gabime
d8199b607d Bump fmt to version 8.1.1 and run clang-format 2022-02-12 13:19:45 +02:00
Charless Milette
44a4517e2b Support C++20 std::format as an alternative to fmtlib 2021-11-13 11:29:05 -05:00
gabime
e7e8b75a4c clang-format 2021-07-19 00:50:51 +03:00
gabime
b83106bed4 Update bundled fmt to v8.0.1 2021-07-03 23:10:57 +03:00
gabime
8bf718671a Update fmt version 8.0 2021-06-24 13:22:02 +03:00
Mikael Lund
faf06bcfe5 Add newlin to color_sinks.cpp 2021-05-30 13:07:16 +01:00
Mikael Lund
cd376a5c43 Allow compilation with nvc++ 2021-05-30 13:02:56 +01:00
gabime
2b81c40b90 Bump fmt to version 7.1.3 2020-12-11 16:32:39 +02:00
gabime
23c2c00d69 Bumb fmt version to 7.0.3 2020-08-26 00:02:09 +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
5ca5cbd447 Added missing SPDLOG_API to color_sinks.cpp 2020-05-05 02:12:39 +03:00
gabime
81444265f4 clang-format 2020-04-19 11:33:36 +03:00
gabime
7698bb0ae1 Bump fmt version to 6.2.0 2020-04-15 00:51:03 +03:00
Gabi Melman
752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:33:04 +02:00
gabime
d1819f5f76 clang-format 2020-03-15 18:51:52 +02:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07:00
gabime
54be9bd8b9 Use brackets to include spdlog in srcs 2020-03-06 15:51:07 +02:00
gabime
d18f282938 Fixed missing cfg.cpp 2020-02-26 18:21:24 +02:00
gabime
5370443ece clang-format 2020-02-10 17:13:41 +02:00
gabime
4d98a14cb1 Updated fmt.cpp to 6.1.2 2019-12-22 22:54:31 +02:00
gabime
d52e825bbc clang-format 2019-12-13 00:12:05 +02:00
gabime
175741ed1d Bump fmt to 6.1.2 2019-12-12 23:50:30 +02:00
gabime
c9bb85c91d Revert supress of warning 4996 under msvc 2015 2019-12-05 17:25:12 +02:00
gabime
53d58f222f fix warning C4996 under vs2015 about std::copy in fmt 2019-12-05 13:37:31 +02:00
gabime
d5a72b1eaf Fixed msvc compilation 2019-12-05 02:02:16 +02:00
gabime
6b5ebab6ae Fixed msvc compilation 2019-12-05 02:01:02 +02:00
gabime
31fc1aca53 Supress -Wimplicit-fallthrough and -Wsign-conversion when including fmt headers 2019-12-05 01:12:55 +02:00
gabime
0db4b04ad3 Bump bundled fmt to version 6.1.0 2019-12-04 23:39:17 +02:00
gabime
2fed68a73b Reverted some external template declarations 2019-09-20 01:52:05 +03:00
gabime
e7ab49c973 Added extern tempalate declarations 2019-09-20 01:28:02 +03:00
gabime
5496491aa4 Added extern template declarations 2019-09-20 00:18:36 +03:00
Gabi Melman
53ca5b2870
Update spdlog.cpp 2019-09-19 12:06:53 +03:00
Gabi Melman
6aced26c35
Update spdlog.cpp 2019-09-19 12:06:22 +03:00
gabime
5721debdf1 split to log_msg_buffer.h ito header and mpl 2019-09-19 11:52:03 +03:00
gabime
bd9e1475e2 clang-format 2019-09-07 20:11:35 +03:00