Commit Graph

4397 Commits

Author SHA1 Message Date
Gabi Melman
d8e0ad46bf Updated bundled fmt to 10.2.1 2024-03-28 21:01:15 +02:00
Gabi Melman
62302019ba
Update test_async.cpp 2024-03-24 10:16:22 +02:00
Gabi Melman
a19c76a4e7
Fix flush test in test_async.cpp 2024-03-24 10:15:04 +02:00
Gabi Melman
ec661f98dc
Update test_async.cpp 2024-03-23 21:23:29 +02:00
Kağan Can Şit
c9ce17abca
INSTALL.md has been updated to provide current status information. (#3052) 2024-03-23 17:29:46 +02:00
Yubin
6725584e27
Make async_logger::flush() synchronous and wait for the flush to complete (#3049) 2024-03-23 15:52:32 +02:00
shahar.valiano
6766f873d6
Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. (#3048)
This option was deprecated in clang-tidy-16, and removed in clang-tidy-18.
2024-03-23 11:28:13 +02:00
Tomas-Zhu
73e2e02b42
Fix #3038 (#3044)
* Fix #3038

* Fix #3038 again

---------

Co-authored-by: Tomas-Zhu <z773922114@gmail.com>
2024-03-21 12:16:11 +02:00
Massimiliano Riva
d03eb40c17
Added Mapped Diagnostic Context (MDC) support (#2907)
* Added Mapped Diagnostic Context (MDC) support

* Update include statement

* Optimize string creation

* Fix includes

* Fix padding rules in mdc empty case

* Add comment to describe the use of mdc formatter
2024-03-18 17:41:46 +02:00
gabime
23587b0d9a Fixed regisry-inl.h 2024-03-17 01:20:26 +02:00
gabime
819eb27c5d Use find if registry is bigger than 10 in registry::get(std::string_view logger_name) 2024-03-17 00:30:05 +02:00
gabime
4052bc0621 Use find if registry is bigger than 20 in registry::get(std::string_view logger_name) 2024-03-17 00:27:43 +02:00
gabime
8cfd4a7e7b Fixed bench dev_null 2024-03-17 00:17:21 +02:00
gabime
e15c505965 fix ci 2024-03-16 16:11:20 +02:00
gabime
42cd77d7e8 fix ci 2024-03-16 16:08:43 +02:00
gabime
c838945eac fix ci 2024-03-16 16:06:43 +02:00
gabime
0621a7ae49 fix ci 2024-03-16 16:02:55 +02:00
Gabi Melman
e0410f430e
Update ci.yml 2024-03-16 15:46:37 +02:00
magnus-nomono
ae525b75c3
Add missing include (#3026) 2024-03-10 02:10:32 +02:00
Alan Candido
a45c939040
Update stopwatch.h (#3034)
Adding elapsed time in milliseconds.
2024-03-09 21:40:05 +02:00
Leadbelly
5532231bbc
feature: adds string view overloads for logger accessor (#3023)
Co-authored-by: Ben Leadbetter <ben.leadbetter@native-instruments.com>
2024-02-29 10:53:56 +02:00
Gabi Melman
60faedb025
Update ci.yml 2024-02-29 09:56:11 +02:00
Gabi Melman
bc4b329585
Update ci.yml 2024-02-29 09:28:18 +02:00
Gabi Melman
75bfbb7c0c
Update ci.yml 2024-02-29 09:21:46 +02:00
Gabi Melman
3f0e400718
Update ci.yml 2024-02-29 09:04:33 +02:00
Gabi Melman
9a445245f1
Update ci.yml 2024-02-29 08:55:37 +02:00
spaceman
d387fdf96c
support MINGW (#3022)
Under Windows 10, compiling with MINGW64 will report an error similar to https://github.com/gabime/spdlog/issues/1581
2024-02-25 02:42:18 +02:00
Gabi Melman
134f9194bb
Update registry.h code formatting 2024-02-14 21:52:21 +02:00
cohdan
fe79bfcc51
Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed (#3009)
* Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed

* Code review fix - periodic_worker thread getter should return a reference and not a pointer
2024-02-14 21:48:44 +02:00
Dimitri Papadopoulos Orfanos
47b7e7c736
Fix typos found by codespell (#3011) 2024-02-12 23:02:31 +02:00
Enzo Gaban
696db97f67
docs: details about how compile time macros work (#2981) 2024-01-16 06:39:45 +02:00
liubing
8979f7fb2a
Also use _stat() on Windows to be more UTF8 friendly (#2978)
* Also use _stat() on Windows to be more UTF8 friendly

* Cosmetic changes
2024-01-13 23:46:18 +02:00
gabime
7c02e204c9 Bump version to 1.13.0 2024-01-12 12:12:27 +02:00
gabime
2aa8b6c971 Check fd_ is not nullptr in file_helper 2024-01-12 12:10:26 +02:00
Jeff
7cb90d1ab2
Fix MSVC compile flag for no exceptions (#2974) 2024-01-09 22:45:14 +02:00
Gabi Melman
1ef8d3ce34
Fix #2967 2024-01-01 16:50:41 +02:00
gabime
c1569a3d29 Bump to catch2 v3.5.0 2023-12-22 18:15:50 +02:00
Harris
ba508057b1
Update example.cpp to fix the vector issue in bin_example (#2963)
with std::vector<char> buf(80),  80 elements are put in the vector, which is not the expected behavior.
2023-12-22 14:39:06 +02:00
Gabi Melman
ac55e60488
Update README.md 2023-11-04 17:36:11 +02:00
Marcus Müller
ddce42155e
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923)
Signed-off-by: Marcus Müller <marcus@hostalia.de>
2023-10-25 19:22:39 +03:00
M010
8b331e2cd1
Fix wrong thread_id (TID) in systemd_sink.h (#2919) 2023-10-24 01:43:47 +03:00
shannonbooth
2d5179ba7d
sinks: Make syslog_sink.h's syslog_prio_from_level protected (#2918)
To allow for using this function from a derived sink.
2023-10-23 22:49:01 +03:00
gabime
ff205fd29a Updated logo 2023-10-13 14:05:36 +03:00
gabime
595a524758 Updated spdlog logo 2023-10-13 13:16:45 +03:00
gabime
c5452e0508 Updated spdlog logo 2023-10-13 12:45:29 +03:00
Keith Kraus
0c4fb032e4
Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR (#2901)
* Modify the condition of SPDLOG_CONSTEXPR_FUNC to match that of fmt
2023-10-13 10:00:00 +03:00
Peter Nemeth
508d20f0fa
Add .git-blame-ignore-revs to ignore clang-format related commits (#2899) 2023-10-11 18:21:29 +03:00
Peter Nemeth
479a5ac3f1
Fix OS availability check of pthread_threadid_np for iOS (#2897) 2023-10-11 10:34:42 +03:00
Gabi Melman
91807c2e71
Update README.md 2023-09-26 00:33:45 +03:00
Gabi Melman
d4a5fd564c
Update README.md 2023-09-26 00:33:32 +03:00