Commit Graph

2390 Commits

Author SHA1 Message Date
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
Gabi Melman
7ac740a029
Update common.h 2023-09-26 01:43:48 +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
gabime
6de0ffa15f Updated clang format to google style 2023-09-25 02:35:55 +03:00
gabime
66de161355 fix fwd 2023-09-25 02:20:13 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
2a1959c2ce wip static_only 2023-09-24 20:26:32 +03:00
gabime
cff3e27115 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:32:48 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
fc81e0390b Removed SPDLOG_COMPILED_LIB/HEADER_ONLY macros from common.h 2023-09-24 13:02:30 +03:00
gabime
b16a8951bc Added more [[nodiscard]] to functions in common 2023-09-24 11:53:04 +03:00
gabime
a34fb3761c Added nodiscard to level_to_number() 2023-09-24 11:50:24 +03:00
gabime
73eb6bc1f5 Replace static_cast with level_to_number in color sinks 2023-09-24 11:48:46 +03:00
Gabi Melman
7d3b5a1b10
Update wincolor_sink-inl.h 2023-09-23 18:45:36 +03:00
gabime
9a7448e4c8 Renamed to level_to_number 2023-09-23 18:21:27 +03:00
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +03:00