Commit Graph

374 Commits (20cd4462b35bb399a54139b295a444ae38c6fd1a)

Author SHA1 Message Date
gabime 20cd4462b3 More fixes relating to removal of factory and registry 9 months ago
gabime 659eda9afd Removed registry,factory and related functions 9 months ago
gabime e96ae7fd43 Removed mdc support 10 months ago
hydai e593f6695c
Fix warning - extra ';' for -Wextra-semi (#3198)
Signed-off-by: hydai <z54981220@gmail.com>
11 months ago
allen_qfl 362214a349
fix/issue-3101: fix the issue where mdc ignores SPDLOG_NO_TLS (#3184)
Co-authored-by: dyf <yufeng.duan@senscape.com.cn>
12 months ago
Ziyao d276069a6e
make example compatible with fmt 11 (#3130)
Since fmt 11.0.0, formatter::format() is required to be const. Mark
format() method in example as const to stay compatible with fmt 11.
1 year ago
gabime 2d4acf8cc3 Added mdc example 1 year ago
Harris ba508057b1
Update example.cpp to fix the vector issue in bin_example (#2963)
with std::vector<char> buf(80),  80 elements are put in the vector, which is not the expected behavior.
2 years ago
gabime 0a53eafe18 update clang format again 2 years ago
gabime 9d52261185 clang format 2 years ago
gabime a98d3ab0c7 clang format 2 years ago
gabime 7e635fca68 Fixed #2724 by excluding bin_to_hex sink if using std::format 2 years ago
gabime 1f61f5e019 clang format 2 years ago
Bailey Chittle 069a2e8fc9
fix small issue when compiling with C++20 without std::format (#2688) 2 years ago
Mohammad Ali 3cab260814
Add a trivial callback sink (#2610)
Add a trivial callback sink
3 years ago
gabime a7e2bf161e Update user defined type example 3 years ago
gabime 070dd181df clang format 3 years ago
Kevin Slattery d3dee23e6c Remove new macro, update example with correct way to specify fmt lib namespace when fmt_lib namespace alias cannot be used. 3 years ago
Kevin Slattery 5f5e70e96e C++14 build fixes for older gcc #2333 3 years ago
gabime 71105e0b07 Fixed #2227 4 years ago
gabime c432fdd987 Bump fmt to version 8.1.1 and run clang-format 4 years ago
Gabi Melman e45c11f98a
Update example.cpp 4 years ago
Gabi Melman c211288576
Update example.cpp 4 years ago
Gabi Melman 4fefd51e08
Fixed custom type example to work in c++11 4 years ago
gabime f81970191a Fixed example for custom_type 4 years ago
gabime b8b16e49a5 Fixed example for custom_type 4 years ago
gabime 2c21d9ecf8 Fixed example for custom_type 4 years ago
gabime 2a45eff693 Fixed example for custom_type 4 years ago
gabime 5bf8728cfa Fixed example for std_format 4 years ago
Roocks Patrick (MTN PTT / External) d93cea97ec Fix usage of ranges and to_hex in the same compile unit
When trying to use spdlog/fmt/bin_to_hex.h in the same compile unit as spdlog/fmt/bundled/ranges.h you got a compile error because there was a multiple definitions for iterable classes. This fix renames the begin() and end() getters in dump_info into getBegin()/getEnd() in order to avoid this collision.

Added an example of ranges in example.cpp to show that it actually works (an to_hex example was already there)
4 years ago
Sean Farrell f52d526e1e Add example to replace default logger.
Close #2193
4 years ago
gabime dc030ec53c clang-format 4 years ago
Gabi Melman 10b640d773
Update example.cpp 4 years ago
gabime 5b7dfefc7e rename file_event_handlers_t to file_event_handlers 4 years ago
gabime 698516f3f5 Updated example 4 years ago
gabime b813bb863d Updated file_events example 4 years ago
gabime 30fb78813b Updated file events example 4 years ago
seker 24a551c14e file_event_handlers add before_open function 4 years ago
seker c47ae3b15d add file event handlers 4 years ago
gabime 1ec50cdcfc update udp example 4 years ago
Chris Love 444df2b287 Address PR comments 4 years ago
Chris Love 8ee1c167b9 Don't use std::chrono_literals 4 years ago
Chris Love 486dc5102e Winsock support 4 years ago
Chris Love 4501f21ae7 Fix example 4 years ago
Chris Love 649424b8ea Fix IP address of udp sink example 4 years ago
Chris Love a15f5137ef Fix udp sink on Windows 4 years ago
Chris Love c5fd8a0b97 Port code from prior PR (#1746), code cleanups 4 years ago
gabime 0f39da5490 Updated example 4 years ago
dkavolis 1344d44a5a check args on formatting 4 years ago
gabime e7e8b75a4c clang-format 4 years ago