Commit Graph

2435 Commits

Author SHA1 Message Date
gabime
79422fe1dc Added missing include 2024-11-29 10:57:25 +02:00
gabime
905312eadd Fixed build replaced string_view_t 2024-11-29 10:50:10 +02:00
gabime
850ee25648 Commented out problematic gcc-9 log(..) overrides 2024-11-29 10:18:07 +02:00
gabime
d94311ad6b Use std::string_view in level names and ansicolor_sink.h 2024-11-26 13:35:01 +02:00
hydai
e4d81a5be9 Fix warning - extra ';' for -Wextra-semi (#3198)
Signed-off-by: hydai <z54981220@gmail.com>
2024-11-25 09:56:41 +02:00
Leslie
a3d3df0a56 use std::lock_guard instead of std::unique_lock (#3179) 2024-11-25 09:45:42 +02:00
Rasmus
15fcde8ee3 Add info about max_files in the docstrings of hourly/daily file sinks (#3170) 2024-11-25 09:44:46 +02:00
gabime
e01fa1a5fd compilation error gcc 8.5 with [-Werror=suggest-override] (#3158) 2024-11-25 09:44:13 +02:00
gabime
a2de13630b Backported FMT_STRING 2024-11-25 09:38:01 +02:00
gabime
5884f4de2a Fix var name 2024-11-25 09:19:28 +02:00
Philippe Vaucher
8888f5875e Allow customization of syslog_sink (#3124)
Thanks @Silex
2024-11-25 09:15:06 +02:00
act262
dec6a3f61f
Fix android_sink header include wrong path (#3113) 2024-06-17 09:52:41 +03:00
gabime
f9566a0101 Remove unneeded inline from template function 2024-05-03 18:57:32 +03:00
gabime
9df7863b95 Remove unneeded inline from template function 2024-05-03 18:57:16 +03:00
gabime
085e1330d0 Remove unneeded inline from template function 2024-05-03 18:50:08 +03:00
gabime
5559847331 Removed unused include 2024-05-03 18:48:42 +03:00
gabime
dc24a858f2 Removed redundant inline keyword 2024-05-03 18:46:12 +03:00
gabime
7ea98fba29 Removed unused includes 2024-05-03 18:45:07 +03:00
gabime
8d81cca86c constexpr in tcp_client_unix 2024-05-03 18:34:16 +03:00
gabime
06be4409e6 clang-format 2024-05-03 18:30:46 +03:00
gabime
15829cfb84 Added final keywords to sinks and pattern_formatter.cpp 2024-05-03 18:30:04 +03:00
gabime
4ee50804d3 Removed unused include 2024-05-03 16:13:49 +03:00
Gabi Melman
f0b96d2ad1
Update mdc.h 2024-03-29 22:13:01 +03:00
gabime
8d6a121b73 Added mdc.h 2024-03-29 17:14:21 +03:00
gabime
ca7c846089 Fixed warning 2024-03-16 19:30:49 +02:00
Alan Candido
5a207ad9ce Update stopwatch.h (#3034)
Adding elapsed time in milliseconds.
2024-03-16 17:15:16 +02:00
magnus-nomono
87b8401011 Add missing include (#3026) 2024-03-16 17:13:17 +02:00
gabime
8e10782a58 Ported pull #3023 with some changes and tests 2024-03-16 17:12:46 +02:00
cohdan
dd8dc8105a 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-03-16 16:40:51 +02:00
Dimitri Papadopoulos Orfanos
c577b54b06 Fix typos found by codespell (#3011) 2024-03-16 16:38:55 +02:00
gabime
0992a41053 Cleaned os.h 2024-01-14 12:45:56 +02:00
gabime
d61f0a5d5e Fix include paths 2024-01-14 12:20:05 +02:00
gabime
885b796447 Refactored os.cpp to os_unix.cpp and os_windows.cpp 2024-01-14 12:09:22 +02:00
gabime
3954caccc1 Clean os.h macros 2024-01-14 11:05:37 +02:00
gabime
aaebfbb5c6 Fixd some clang-tidy warnings 2024-01-13 19:21:41 +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
287d83acae Removed unused include 2024-01-13 12:01:02 +02:00
gabime
f70670d26c Removed SPDLOG_EOL define 2024-01-13 10:32:55 +02:00
gabime
77b07b3a10 clang format 2024-01-13 09:37:32 +02:00
gabime
4789065700 Remove custom level names from macro 2024-01-13 09:32:01 +02:00
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
gabime
feaab0dd9f Use relative include files 2024-01-12 17:21:57 +02:00
gabime
a3e05332b0 Removed fmt wrapper files 2024-01-12 15:52:32 +02:00
gabime
68e71cfc49 Revert "force constexpr of empty source_loc"
This reverts commit 7e3700f650.
2023-12-25 00:03:16 +02:00
Gabi Melman
7e3700f650 force constexpr of empty source_loc 2023-12-24 18:38:40 +02:00
gabime
1161d640a1 Removed bundled fmtlib. Use FetchContent instead 2023-12-22 16:19:05 +02:00
Marcus Müller
9797b353c0 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-27 15:27:15 +03:00
shannonbooth
d53e8abc74 sinks: Make syslog_sink.h's syslog_prio_from_level protected (#2918)
To allow for using this function from a derived sink.
2023-10-27 15:26:45 +03:00
M010
efcca400bf Fix wrong thread_id (TID) in systemd_sink.h (#2919) 2023-10-27 15:25:34 +03:00