Commit Graph

542 Commits (1bfdff87ab0c97d0d1005db2759da667b7a9230c)

Author SHA1 Message Date
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
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
3 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
gabime 7636f1f659 revert some changes made by mistake 4 years ago
gabime 1523c83650 Added fmt/compile.h bundled file 4 years ago
Nandan V 2a9edb2153
Minor typo 4 years ago
gabime b2e31721e8 Update example 5 years ago
gabime 05d5546eb1 Restore example 5 years ago
gabime cefe67726e wip fix #1680 again 5 years ago
gabime 34f3d29d93 Added stopwatch support 5 years ago
Raul Tambre 76cdeb62e3 Don't enable C language in CMake
spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
5 years ago
Raul Tambre ae9627c64c Raise CMake requirement to 3.13
* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
5 years ago
Gabi Melman e5935f0ced
Delete meson.build 5 years ago
gabime 75c15e8028 Formatted cmake 5 years ago
gabime ff0e430e46 Formatted cmake using cmake-format 5 years ago
Bruce Mitchener 937fe7e909 cmake: Fix tabs, whitespace at EOL. 5 years ago
Gabi Melman 7906592230
Fix #1499 5 years ago
gabime 0a5ada6411 clang-format 6 years ago
Gabi Melman 60a8c5f1c9 Added padding support and set_pattern to custom_flags 6 years ago
Gabi Melman d1a1024465 Moved pattern formatter from spdlog/details to spdlog/ 6 years ago
Gabi Melman 0d7ff9ac47 Moved pattern formatter from spdlog/details to spdlog/ 6 years ago
Gabi Melman 752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 6 years ago
gabime 3f86b250e6 Updated comment 6 years ago
gabime 5ab487dbae Updated example 6 years ago
gabime 8038bc2fc8 Update example 6 years ago
gabime f20b12cf3f Update example 6 years ago
gabime c8bd53509c Update example 6 years ago
gabime 006124d816 Update example 6 years ago
gabime b7d7334451 Renamed level loaders 6 years ago
gabime c861e2d9cf Updated example 6 years ago
gabime c10be7eaec merge with v1.x 6 years ago
Michael R. Crusoe 8d06df9775
Enable building & running the example against an installed copy of spdlog 6 years ago
gabime 0243882238 Updated example 6 years ago
gabime 877eee408e renamed loaders with cfg 6 years ago
gabime de20255c71 wip 6 years ago
gabime 1a1c37db7c wip 6 years ago
gabime a87700a28c wip 6 years ago
gabime 1f8e9ad0fc renamed cfg namespace to loaders 6 years ago
gabime 773b8c5a54 refectored file names 6 years ago
gabime fc3d18ed64 format 6 years ago
gabime 68ed281461 Refactored to cfg::log_levels class 6 years ago
gabime 65ada37399 refactor and and support for init from argv 6 years ago
gabime a056b9115b clang-format 6 years ago
gabime 04d0240f8d updated example 6 years ago
gabime 8992f36fbf refactor env-inl 6 years ago
gabime 3d203aa7c4 Simplify and removed SPDLOG_PATTERN support 6 years ago
gabime 8d9d9899b7 wip 6 years ago
gabime 2b3000dddc wip 6 years ago
gabime da2c15ecb4 wip config from env 6 years ago
gabime 0f24399887 wip 6 years ago
gabime abbbda6f74 wip 6 years ago
gabime 4d41fdf0fc Wip 6 years ago
gabime be2a751513 Fixed clang-tidy warning in example 6 years ago
gabime 9b7812a0f2 auto create log dir 6 years ago
gabime 7733849478 Updated meson build 6 years ago
gabime 65d02e495e Reverted the version() function 6 years ago
gabime 7f0398ca25 Added version() function 6 years ago
gabime d7f05722d4 Fixed example 6 years ago
gabime dae4f9fef6 split spdlog.cpp to multiple .cpp files 6 years ago
gabime 172cf26d77 Update comment 6 years ago
gabime c97c025adb clang-format 6 years ago
gabime d7e58ce10e Fixed example 6 years ago
gabime 72b0f9e8f7 Updated example 6 years ago