Commit Graph

360 Commits

Author SHA1 Message Date
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
gabime
30fb78813b Updated file events example 2021-11-15 14:32:34 +02:00
seker
24a551c14e file_event_handlers add before_open function 2021-11-15 19:14:35 +08:00
seker
c47ae3b15d add file event handlers 2021-11-12 09:49:49 +08:00
gabime
1ec50cdcfc update udp example 2021-09-05 11:35:00 +03:00
Chris Love
444df2b287 Address PR comments 2021-09-03 16:36:49 -07:00
Chris Love
8ee1c167b9 Don't use std::chrono_literals 2021-09-03 11:02:12 -07:00
Chris Love
486dc5102e Winsock support 2021-09-03 10:53:29 -07:00
Chris Love
4501f21ae7 Fix example 2021-08-26 18:50:55 -07:00
Chris Love
649424b8ea Fix IP address of udp sink example 2021-08-26 06:36:31 -07:00
Chris Love
a15f5137ef Fix udp sink on Windows 2021-08-26 06:35:28 -07:00
Chris Love
c5fd8a0b97 Port code from prior PR (#1746), code cleanups 2021-08-25 20:32:35 -07:00
gabime
0f39da5490 Updated example 2021-07-22 12:44:41 +03:00
dkavolis
1344d44a5a check args on formatting 2021-07-21 23:54:11 +01:00
gabime
e7e8b75a4c clang-format 2021-07-19 00:50:51 +03:00
gabime
7636f1f659 revert some changes made by mistake 2021-07-14 14:33:45 +03:00
gabime
1523c83650 Added fmt/compile.h bundled file 2021-07-14 14:28:34 +03:00
Nandan V
2a9edb2153
Minor typo 2021-04-03 11:42:35 +00:00
gabime
b2e31721e8 Update example 2020-12-11 16:58:49 +02:00
gabime
05d5546eb1 Restore example 2020-09-26 15:30:45 +03:00
gabime
cefe67726e wip fix #1680 again 2020-09-26 15:06:53 +03:00
gabime
34f3d29d93 Added stopwatch support 2020-08-29 02:48:43 +03:00
gabime
0a5ada6411 clang-format 2020-03-21 15:25:26 +02:00
Gabi Melman
60a8c5f1c9 Added padding support and set_pattern to custom_flags 2020-03-21 15:03:41 +02:00
Gabi Melman
d1a1024465 Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:35:16 +02:00
Gabi Melman
0d7ff9ac47 Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:35:04 +02:00
Gabi Melman
752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:33:04 +02:00
gabime
3f86b250e6 Updated comment 2020-03-15 18:56:38 +02:00
gabime
5ab487dbae Updated example 2020-03-15 17:38:15 +02:00