Commit Graph

2457 Commits (3c9963a495b4fd43191d9e8479bbe88ca6918989)

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
1 year ago
Dimitri Papadopoulos Orfanos c577b54b06 Fix typos found by codespell (#3011) 1 year ago
gabime 0992a41053 Cleaned os.h 2 years ago
gabime d61f0a5d5e Fix include paths 2 years ago
gabime 885b796447 Refactored os.cpp to os_unix.cpp and os_windows.cpp 2 years ago
gabime 3954caccc1 Clean os.h macros 2 years ago
gabime aaebfbb5c6 Fixd some clang-tidy warnings 2 years ago
gabime ce3922cff1 Fix some typos 2 years ago
gabime c539f36551 clang format 2 years ago
gabime 287d83acae Removed unused include 2 years ago
gabime f70670d26c Removed SPDLOG_EOL define 2 years ago
gabime 77b07b3a10 clang format 2 years ago
gabime 4789065700 Remove custom level names from macro 2 years ago
gabime 24fe442d03 Use relative includes and create spdlog_config.h 2 years ago
gabime feaab0dd9f Use relative include files 2 years ago
gabime a3e05332b0 Removed fmt wrapper files 2 years ago
gabime 68e71cfc49 Revert "force constexpr of empty source_loc"
This reverts commit 7e3700f650.
2 years ago
Gabi Melman 7e3700f650 force constexpr of empty source_loc 2 years ago
gabime 1161d640a1 Removed bundled fmtlib. Use FetchContent instead 2 years ago
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>
2 years ago
shannonbooth d53e8abc74 sinks: Make syslog_sink.h's syslog_prio_from_level protected (#2918)
To allow for using this function from a derived sink.
2 years ago
M010 efcca400bf Fix wrong thread_id (TID) in systemd_sink.h (#2919) 2 years ago
gabime 83d5f3dbad Revert 70f7a8252d 2 years ago
gabime bc7e80c7ae Removed include null_mutex.h from common.h 2 years ago
gabime 70f7a8252d Always <format> if SPDLOG_USE_STD_FORMAT defined 2 years ago
gabime 5782891494 Removed SPDLOG_FMT_RUNTIME definition 2 years ago
gabime 82a672a4d3 Removed console_globals.h file 2 years ago
Gabi Melman c10acd23ce
Update fmt.h 2 years ago
Gabi Melman b1b6a22955
Update fmt.h 2 years ago
gabime 61b11e77b9 constexpr support for source location without leading directory 2 years ago
gabime 57868277db clang format 2 years ago
gabime eb256827f1 Fixed nodiscard location 2 years ago
Gabi Melman 08648e58ad Fixed wincolor sink 2 years ago
Gabi Melman 9a7a9f6871 Removed ref from to_string_ in ansicolor sink 2 years ago
gabime 9390881046 Retruned color codes to ansi-color header 2 years ago
gabime a8efa85b86 Remove global console mutex (wip) 2 years ago
Gabi Melman af8354575d
Update common.h 2 years ago
Gabi Melman 9163bbde14
Update win_eventlog_sink.h 2 years ago
gabime 8dc7ba7e3d Cleaned tests 2 years ago
gabime b169859ce9 Removed unneeded ifdef around msvc sink 2 years ago
gabime 4f36d1933a Added missing include 2 years ago
gabime 2bdddc61e8 minor cleanup 2 years ago
gabime 463af69d41 Clang format sort includes 2 years ago
gabime a0e631802c Replaced include <spdlog/..> with include "spdlog/.." 2 years ago
gabime a3934472c9 Relative include paths in headers 2 years ago
gabime 976d3d20b6 Fixed ifdefs 2 years ago
gabime 0773e11883 relative includes wip 2 years ago
gabime 4bb3b56102 relative includes wip 2 years ago
gabime 967554e4c5 added comments 2 years ago
Gabi Melman 030bcb8890
Update common.h 2 years ago
Gabi Melman 7ac740a029
Update common.h 2 years ago
gabime 6dffd7c6e8 update clang format again 2 years ago
gabime f36b2c5f93 reformat code 2 years ago
gabime dcd5904bdc Updated clang-format
Merged with origin
2 years ago
gabime 6de0ffa15f Updated clang format to google style 2 years ago
gabime 66de161355 fix fwd 2 years ago
gabime e28eadcd52 Clang format 2 years ago
gabime 2a1959c2ce wip static_only 2 years ago
gabime cff3e27115 Removed usages of SPDLOG_COMPILED_LIB macro 2 years ago
gabime 6d520df916 Removed header only options 2 years ago
gabime fc81e0390b Removed SPDLOG_COMPILED_LIB/HEADER_ONLY macros from common.h 2 years ago
gabime b16a8951bc Added more [[nodiscard]] to functions in common 2 years ago
gabime a34fb3761c Added nodiscard to level_to_number() 2 years ago
gabime 73eb6bc1f5 Replace static_cast with level_to_number in color sinks 2 years ago
Gabi Melman 7d3b5a1b10
Update wincolor_sink-inl.h 2 years ago
gabime 9a7448e4c8 Renamed to level_to_number 2 years ago
gabime 433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2 years ago
gabime 7c0afada60 check SPDLOG_SOURCE_LOCATION in macros and in runtime 2 years ago
gabime ea1c829764 fix warning 2 years ago
Gabi Melman e315bcb2a9 Fix compilations in windows 2 years ago
gabime e63d110baa use constexpr for colors in ansicolor_sink 2 years ago
gabime 5683d16b36 Fix atomic level 2 years ago
gabime 7d9cf59649 Fix atomic level 2 years ago
gabime 31a7dc6e1e Fix atomic level 2 years ago
gabime 3a405ba958 Fix atomic level 2 years ago
gabime 392917f855 null_atomic_log_level and fix compile 2 years ago
gabime ac2955cb48 Use std::array for string levels storage 2 years ago
gabime 96bed42974 Clean level names logic and inline them 2 years ago
gabime 3d5ddea136 Use std::vformat 2 years ago
gabime a3ef3ab7a4 Removed SPDLOG_FMT_STRING 2 years ago
gabime b777497b0d Removed un needed inline specifier 2 years ago
gabime 5c93f5ff34 Revert last commit 2 years ago
gabime 9c1e1c85aa Removed un needed loc_with_fmt constructor 2 years ago
gabime 8488b027e9 Formatting 2 years ago
gabime ad18d4e1cb Added missing include to <spdlog/fmt/xchar.h> 2 years ago
gabime c0c1b49fa3 Fixed soruce location macro names 2 years ago
gabime 3979bd15f7 Fixed build 2 years ago
Gabi Melman 536da46a2c Changed macro name to SPDLOG_EMIT_SOURCE_LOCATION 2 years ago
Gabi Melman ce6bccb194 Fixed logger::log with std::format under msvc 2 years ago
Gabi Melman 768de091ee Update common.h 2 years ago
Gabi Melman 2718d4671b Update common.h 2 years ago
Gabi Melman e1c7e6fde4 Update logger.h 2 years ago
Gabi Melman fb40b49ef0 Update logger.h 2 years ago
gabime 82069b2455 Fixed include <version> 2 years ago
gabime 5ae1ace844 Added loc_with_fmt overload with runtime_format_string 2 years ago
gabime bcc24961a0 Added forgotten inline keywords 2 years ago
gabime af2f24de07 Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION 2 years ago
gabime 5882bfd0ad Simplify by replacing is_convertible_to_sv with string_view_t param 2 years ago
gabime 3eea04bcd3 Simplify by replacing is_convertible_to_sv with string_view_t param 2 years ago
gabime b19ceb6d0a Remove refs from format_string param 2 years ago