Commit Graph

516 Commits

Author SHA1 Message Date
gabime
eb7d87685b Fixed example 2023-12-22 14:37:50 +02:00
gabime
8590436aaf Fixed example 2023-12-22 14:36:54 +02:00
gabime
83d5f3dbad Revert 70f7a8252d 2023-10-21 13:56:42 +03:00
gabime
5782891494 Removed SPDLOG_FMT_RUNTIME definition 2023-10-21 13:36:52 +03:00
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
Gabi Melman
9b3a4e28c5 Copy spdlog dll to the executable folder for example, tests and bench 2023-10-01 17:42:44 +03:00
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00
gabime
6dffd7c6e8 update clang format again 2023-09-25 16:40:05 +03:00
gabime
dcd5904bdc Updated clang-format
Merged with origin
2023-09-25 16:11:53 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +03:00
gabime
2d801bbd80 Update comment 2023-09-23 02:04:00 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
8488b027e9 Formatting 2023-09-22 18:24:45 +03:00
Gabi Melman
536da46a2c Changed macro name to SPDLOG_EMIT_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
gabime
a7a537216c Removed swap from logger and renamed source location macro to SPDLOG_USE_SOURCE_LOCATION 2023-09-22 18:24:45 +03:00
gabime
90e92438c8 clang format 2023-09-22 18:24:45 +03:00
gabime
1faeb5b6fa Minor cleanups 2023-09-22 18:24:45 +03:00
gabime
db76ab6c9f Fixed README.md and example.cpp 2023-09-22 18:24:45 +03:00
gabime
9d6dd2a691 Fixed warning for example 2023-09-22 18:24:45 +03:00
gabime
19d4e60561 Replaced details::make_unique with std::make_unique 2023-09-22 18:24:45 +03:00
gabime
92daf6954b Removed backtrace feature 2023-09-22 18:24:45 +03:00
gabime
a98d3ab0c7 clang format 2023-09-09 12:56:47 +03:00
albert-github
81ce5fcdb7
Remove obsolete part from cmake configuration files (#2871)
Updating minimum CMake version to 3.11
2023-08-30 23:20:37 +03:00
gabime
7e635fca68 Fixed #2724 by excluding bin_to_hex sink if using std::format 2023-07-08 17:12:25 +03:00
gabime
1f61f5e019 clang format 2023-06-07 13:23:44 +03:00
Bailey Chittle
069a2e8fc9
fix small issue when compiling with C++20 without std::format (#2688) 2023-03-25 02:47:37 +03:00
Zeus James
da14258533
Fix MinGW build issue on example (#2642)
* Fix MinGW build issue on example #2638

* Move the cmake change to example\CMakeLists.txt

* Update CMakeLists.txt on the example
2023-02-12 10:34:22 +02:00
Mohammad Ali
3cab260814
Add a trivial callback sink (#2610)
Add a trivial callback sink
2023-01-19 19:46:34 +02:00
gabime
a7e2bf161e Update user defined type example 2022-10-31 17:35:24 +02:00
gabime
070dd181df clang format 2022-10-31 17:09:45 +02:00
Kevin Slattery
d3dee23e6c Remove new macro, update example with correct way to specify fmt lib namespace when fmt_lib namespace alias cannot be used. 2022-05-12 18:55:08 -05:00
Kevin Slattery
5f5e70e96e C++14 build fixes for older gcc #2333 2022-05-11 15:14:41 -05:00
gabime
71105e0b07 Fixed #2227 2022-02-12 13:59:12 +02:00
gabime
c432fdd987 Bump fmt to version 8.1.1 and run clang-format 2022-02-12 13:20:15 +02:00
Gabi Melman
e45c11f98a
Update example.cpp 2021-12-11 17:18:40 +02:00
Gabi Melman
c211288576
Update example.cpp 2021-12-11 17:12:15 +02:00
Gabi Melman
4fefd51e08
Fixed custom type example to work in c++11 2021-12-11 17:07:10 +02:00
gabime
f81970191a Fixed example for custom_type 2021-12-11 16:24:07 +02:00
gabime
b8b16e49a5 Fixed example for custom_type 2021-12-11 16:23:46 +02:00
gabime
2c21d9ecf8 Fixed example for custom_type 2021-12-11 16:23:20 +02:00
gabime
2a45eff693 Fixed example for custom_type 2021-12-11 16:22:51 +02:00
gabime
5bf8728cfa Fixed example for std_format 2021-12-11 16:22:33 +02:00
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)
2021-12-01 15:37:48 +01:00
Sean Farrell
f52d526e1e Add example to replace default logger.
Close #2193
2021-11-28 13:55:14 +01:00
gabime
dc030ec53c clang-format 2021-11-16 23:44:35 +02:00
Gabi Melman
10b640d773
Update example.cpp 2021-11-16 22:37:43 +02:00
gabime
5b7dfefc7e rename file_event_handlers_t to file_event_handlers 2021-11-16 16:41:04 +02:00
gabime
698516f3f5 Updated example 2021-11-15 14:54:51 +02:00
gabime
b813bb863d Updated file_events example 2021-11-15 14:35:00 +02:00