Commit Graph

2407 Commits

Author SHA1 Message Date
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
gabime
83d5f3dbad Revert 70f7a8252d 2023-10-21 13:56:42 +03:00
gabime
bc7e80c7ae Removed include null_mutex.h from common.h 2023-10-21 13:48:19 +03:00
gabime
70f7a8252d Always <format> if SPDLOG_USE_STD_FORMAT defined 2023-10-21 13:43:30 +03:00
gabime
5782891494 Removed SPDLOG_FMT_RUNTIME definition 2023-10-21 13:36:52 +03:00
gabime
82a672a4d3 Removed console_globals.h file 2023-10-06 17:17:46 +03:00
Gabi Melman
c10acd23ce
Update fmt.h 2023-10-02 20:24:00 +03:00
Gabi Melman
b1b6a22955
Update fmt.h 2023-10-02 20:20:44 +03:00
gabime
61b11e77b9 constexpr support for source location without leading directory 2023-10-01 23:54:54 +03:00
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
gabime
eb256827f1 Fixed nodiscard location 2023-10-01 17:56:42 +03:00
Gabi Melman
08648e58ad Fixed wincolor sink 2023-10-01 15:18:55 +03:00
Gabi Melman
9a7a9f6871 Removed ref from to_string_ in ansicolor sink 2023-10-01 15:04:35 +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
af8354575d
Update common.h 2023-09-29 03:21:28 +03:00
Gabi Melman
9163bbde14
Update win_eventlog_sink.h 2023-09-29 02:51:57 +03:00
gabime
8dc7ba7e3d Cleaned tests 2023-09-29 00:45:09 +03:00
gabime
b169859ce9 Removed unneeded ifdef around msvc sink 2023-09-29 00:35:38 +03:00
gabime
4f36d1933a Added missing include 2023-09-29 00:31:45 +03:00
gabime
2bdddc61e8 minor cleanup 2023-09-29 00:23:08 +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
gabime
a3934472c9 Relative include paths in headers 2023-09-28 23:45:45 +03:00
gabime
976d3d20b6 Fixed ifdefs 2023-09-28 22:58:50 +03:00
gabime
0773e11883 relative includes wip 2023-09-28 00:46:42 +03:00
gabime
4bb3b56102 relative includes wip 2023-09-28 00:42:16 +03:00
gabime
967554e4c5 added comments 2023-09-26 10:31:17 +03:00
Gabi Melman
030bcb8890
Update common.h 2023-09-26 01:53:55 +03:00