Commit Graph

60 Commits

Author SHA1 Message Date
gabime
80f00797e3 Fixed copy ctor of err_helper to be thread safe 2025-01-17 18:35:34 +02:00
gabime
9673c1ba09 Fixed warning about move 2025-01-17 17:01:57 +02:00
gabime
5dce654473 Fixed warning 2025-01-17 16:48:28 +02:00
gabime
be942e0a2d Limit error handler rate to 1/sec 2025-01-17 16:42:06 +02:00
gabime
ffbb35368d noexcept 2025-01-06 10:35:08 +02:00
gabime
adaf0554be Pass source loc by ref to log_msg 2025-01-06 08:06:52 +02:00
Gabi Melman
83c9ede9e6 Asink sink (#3309)
Replace async logger with async sink
2025-01-05 02:17:31 +02:00
Gabi Melman
166843ff3a V2.x no reg (#3285)
Removed registry
2024-12-06 19:21:42 +02:00
Gabi Melman
08c727e4f8 Use std filesystem (#3284)
* Use std::filesystem for path names and impl
2024-12-05 19:14:25 +02:00
gabime
e62be8b43f clang-format 2024-12-01 23:59:09 +02:00
gabime
3c9963a495 Removed tweak options and spdlog_config.h 2024-11-30 19:55:45 +02:00
gabime
e26e3692d1 Non locking ::fwrite if possible (SPDLOG_FWRITE_UNLOCKED defined) or use the regular locking fwrite 2024-11-30 15:46:06 +02:00
gabime
0d8f1f1dd4 Fixed tidy warnings 2024-11-30 12:53:19 +02:00
gabime
82bb5114e2 Fixed some tidy warnings 2024-11-30 11:36:43 +02:00
Gabi Melman
aa9eaae6f6 Update os_windows.cpp 2024-11-29 23:14:12 +02:00
gabime
03e20348e2 Added back wstr_to_utf8buf() and utf8_to_wstrbuf() for windows 2024-11-29 22:48:38 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +02:00
gabime
7c6f737990 Fix windows compile of log_msg_buffer.cpp 2024-11-29 14:14:24 +02:00
gabime
754be3eec6 Fix #3079 2024-11-25 09:19:41 +02:00
gabime
06be4409e6 clang-format 2024-05-03 18:30:46 +03:00
gabime
d60a4c7b50 Don't remove existing logger from registry in set_default_logger 2024-05-03 13:31:30 +03:00
gabime
a627f5c43a Apply #3044 pr 2024-03-22 16:56:48 +02:00
gabime
390428aae1 Fixed path_exists(..) in windows 2024-03-17 01:36:04 +02:00
gabime
1bde4831a0 Fixed registry impl 2024-03-17 01:17:32 +02:00
gabime
e1f5a45900 Added small_map_threshold constexpr 2024-03-17 00:36:52 +02:00
gabime
b95e493471 Reduce max size for sequential map search to 10 2024-03-17 00:31:24 +02:00
gabime
4a31ed38d3 if the map is small do a sequential search, otherwise use the standard find() 2024-03-17 00:14:56 +02:00
gabime
06e4631dde Use find if registry is bigger than 20 2024-03-16 23:47:39 +02:00
gabime
e750d2219e Small clean in registry impl 2024-03-16 22:45:20 +02:00
gabime
8a4f3b1ba7 Small clean in registry impl 2024-03-16 22:44:59 +02:00
gabime
8e10782a58 Ported pull #3023 with some changes and tests 2024-03-16 17:12:46 +02:00
gabime
8319d1bc16 clang format 2024-03-16 13:51:29 +02:00
gabime
57384f7be3 Minor clean 2024-03-16 13:51:29 +02:00
gabime
bb687e7aad Minor clean 2024-03-16 13:51:29 +02:00
gabime
7bb480a051 Minor clean 2024-03-16 13:51:29 +02:00
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
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
77b07b3a10 clang format 2024-01-13 09:37:32 +02:00
gabime
3379f242e1 Check fd_ is not nullptr in file_helper 2024-01-12 14:01:03 +02: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
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00