Commit Graph

2195 Commits (65e388e82bb3fb5b5c4c0acba68810aa2e4fbb61)

Author SHA1 Message Date
cohdan fe79bfcc51
Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed (#3009)
2 years ago
Dimitri Papadopoulos Orfanos 47b7e7c736
Fix typos found by codespell (#3011)
2 years ago
liubing 8979f7fb2a
Also use _stat() on Windows to be more UTF8 friendly (#2978)
2 years ago
gabime 7c02e204c9 Bump version to 1.13.0
2 years ago
gabime 2aa8b6c971 Check fd_ is not nullptr in file_helper
2 years ago
Marcus Müller ddce42155e
fmt/*.h: include tweakme.h to set SPDLOG_FMT_EXTERNAL according to system (#2923)
2 years ago
M010 8b331e2cd1
Fix wrong thread_id (TID) in systemd_sink.h (#2919)
2 years ago
shannonbooth 2d5179ba7d
sinks: Make syslog_sink.h's syslog_prio_from_level protected (#2918)
2 years ago
Keith Kraus 0c4fb032e4
Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR (#2901)
2 years ago
Peter Nemeth 479a5ac3f1
Fix OS availability check of pthread_threadid_np for iOS (#2897)
2 years ago
gabime e5865186d4 Revert "Added a function to add callbacks that are called when a logger is registered (#2883)"
2 years ago
Jonathan Vannier b6eeb7364c
Added a function to add callbacks that are called when a logger is registered (#2883)
2 years ago
gabime 0a53eafe18 update clang format again
2 years ago
gabime 4b2a8219d5 reformat code
2 years ago
gabime 9d52261185 clang format
2 years ago
gabime 95c226e9c9 format
2 years ago
Gabi Melman 5931a3d6f8 Fixed windows compile
2 years ago
Gabi Melman f4afd81ce6
Update common.h
2 years ago
gabime 1a0bfc7a89 clang format
2 years ago
gabime f24f7fa2fa Added missing include mutex
2 years ago
Gabi Melman b9cb721b92
Update async_logger-inl.h
2 years ago
Gabi Melman 1d6dbc2a56
Fix code formatting of async_logger-inl.h
2 years ago
Yubin b5b5043d42
Support async_overflow_policy::discard_new (#2876)
2 years ago
gabime d109e1dcd0 minor cleanup
2 years ago
gabime a98d3ab0c7 clang format
2 years ago
neothenil 8014d6c31a
Fix encoding issue in qt_sinks (#2862)
2 years ago
mike cedfeeb95f
Add SPDLOG_TO_VERSION to compare spdlog version (#2853)
2 years ago
gabime bffceb90b0 Fixed circular_q size impl and added tests
2 years ago
Gabi Melman d8d23a6606
Fix #2820
2 years ago
qwark 76dfc7e7c0
Qt Sink : Allow for darker colors (for light background). (#2817)
2 years ago
gabime bed324e414 Formatted qt_sinks.h code
2 years ago
gabime 72a7ec3eb9 Bumped spdlog version to 1.12.0
2 years ago
gabime 4338b9cd23 Revert "Updated bundled fmt to version 10.0.0"
2 years ago
Lucas Rangit MAGASWERAN 01b3724c48
sinks: android: handle when message is not loggable (#2801)
2 years ago
gabime 4b8ff51a29 Added const to put_newline() in bin_to_hex.h
2 years ago
Gabi Melman 8b8bc20f30
Added const qualifier to bin_hex_formatter to support c++20
2 years ago
gabime 3cd06a3d40 Added const qualifier to stopwatch formatter to support c++20
2 years ago
gabime 169f827957 Added missing include to udp_client.h
2 years ago
gabime 62e55e7a7f Updated bundled fmt to version 10.0.0
2 years ago
gabime b85c509ec6 Fixed clang warning in qt_sinks.h
2 years ago
gabime b1eb4953fa Cleaned some warnings in qt_sinks
2 years ago
Simon-Janos 5ece88e5a8
Removing IPv4 limitation from tcp_client (#2790)
2 years ago
Jiang Y 326f8870c2
Update qt_sinks.h: narrow cast msg.color_range_start, msg.color_range_end (#2781)
2 years ago
gabime da1e671d42 Clean qt_color_sink
2 years ago
gabime 9ce7295191 Make max_line explicit for qt_color_sink
2 years ago
gabime ca44ce50ab Cleaned qt_color_sink
2 years ago
gabime 91280df07e wip color_qt_sink
2 years ago
Gabi Melman 4f4da7f114
Revert qt_sinks changes and color support, since they are not thread safe
2 years ago
Gabi Melman 199cc0a6d8
Update qt_sinks.h
2 years ago
Gabi Melman 4fb4e2bd86
Update qt_sinks.h
2 years ago
Gabi Melman c17b5d9cd1
Update qt_sinks.h
2 years ago
Gabi Melman 3a7188505f
Added lock to qt_color_sink
2 years ago
gabime 1f61f5e019 clang format
2 years ago
gabime 31cefdce79 Use at() in ansicolor_sink
2 years ago
gabime 95b8ee9b32 Remove comment in qt_sinks.h
2 years ago
gabime d7985e3965 Update comment about qt_color_sink
2 years ago
gabime dfcb74b129 Added default color handling to qt_color_sink
2 years ago
gabime 6a96c7f902 Added qt_color_sink
2 years ago
gabime 6940f4fd46 Added some comments to qt_sinks.h
2 years ago
gabime 1f1897e3a4 Clean qt_sink code
2 years ago
gabime 0f50ad92d6 Clean qt_sink code
2 years ago
gabime 5384512f25 Store MetaMethod object in qt_sink for better performance
2 years ago
gabime 230cad163d Fixed qt_sink
2 years ago
Gabi Melman 3a6ee663ba
Update qt_sinks.h
2 years ago
Gabi Melman 931cd2fb54
Update qt_sinks.h
2 years ago
Gabi Melman 8fdcf0365b
Update qt_sinks.h
2 years ago
Ulmo-F 32701af60b
qt_sink: add some warning on its usage (#2753)
2 years ago
Gabi Melman 31cf79a70d
Remov foreward to standard vformat_to
2 years ago
Eli Boyarski 62a4b8ce4e
Fix fmt build (#2744)
2 years ago
gabime ea1af20840 Update error message in default error handler
2 years ago
gabime 1fba68bfe2 Catch exceptions from async logger. Fix #2618
2 years ago
Gabi Melman dd173bc544
Update daily_file_sink.h
2 years ago
Gabi Melman fcc8a95a95
Update daily_file_sink.h
2 years ago
Gabi Melman 9fcf609b67
Update daily_file_sink.h
2 years ago
Bernd Ritter af1785b897
Removes special format handling for fmt. (#2736)
2 years ago
James Ruan e4f92bed48
fix ringbuffer_sink moving warning (#2722)
2 years ago
Sergey Fedorov c65aa4e488
os-inl.h: fix for missing pthread_threadid_np (#2715)
3 years ago
Gabi Melman e539d6ae42
Update registry-inl.h fix #2691
3 years ago
H1X4 0ca574ae16
fix build for master fmt (non-bundled) (#2694)
3 years ago
SCC/楊志璿 42d1f40a18
Fix stdout_sink_base::log's behavior inconsistency (#2646)
3 years ago
Luis Angerstein 1262a249a6
Fix os namespace in systemd_sink.h (#2668)
3 years ago
Gabi Melman 2d57e3b57e
Update and rename kafka_skin.h to kafka_sink.h
3 years ago
听风 b25aaecf6a
feat(kafka_skin.h): kafka log support (#2655)
3 years ago
Gabi Melman 262acfdeb5
Update os-inl.h
3 years ago
Gabi Melman a4d8817745
move include cassert
3 years ago
Gabi Melman 66407f5b48
Better handling of utf to wchar
3 years ago
璀境石 4641347c3f
msvc_sink: support utf8 (#2651)
3 years ago
afshinpir 51bcff820e
Added `apply_logger_env_levels` (#2649)
3 years ago
Charles Hardin 7372596126
Add optional TID definition to the systemd sink send (#2619)
3 years ago
Zeus James da14258533
Fix MinGW build issue on example (#2642)
3 years ago
Li Z 927cc29444
Fix unexpected delimiter at start of line in to_hex formatter (#2627)
3 years ago
Mohammad Ali 3cab260814
Add a trivial callback sink (#2610)
3 years ago
Gabi Melman 654dbc5c32
Update os.h
3 years ago
Gabi Melman 78e86ba01f
Update os-inl.h
3 years ago
Gabi Melman 435827fe5a
Update os.h
3 years ago
espkk f29f369a12
Add sync to file_helper (#2343)
3 years ago
albert-github 5a63426d1c
Spelling corrections (#2606)
3 years ago
Robin Lindén 6df64c6c34
Fix -Wshadow warnings in spdlog::sinks::dist_sink (#2599)
3 years ago
Arnar Bjarni Arnarson 0b9ff5210a
Fix type of event id in win_eventlog_sink (#2598)
3 years ago
Ivan Grokhotkov 85a009ad64
Support newlib C library configurations without tm_gmtoff field (#2600)
3 years ago