hydai
e593f6695c
Fix warning - extra ';' for -Wextra-semi ( #3198 )
...
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[asan:OFF build_type:Debug compiler:clang cppstd:17 version:12]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[asan:OFF build_type:Release compiler:clang cppstd:20 version:15]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Debug compiler:gcc cppstd:20 version:11]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:11 version:7]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:17 version:9]) (push) Has been cancelled
ci / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }}, ${{ matrix.config.build_type }}) (map[build_type:Release compiler:gcc cppstd:20 version:12]) (push) Has been cancelled
ci / OS X Clang (C++11, Release) (push) Has been cancelled
Signed-off-by: hydai <z54981220@gmail.com>
2024-09-23 15:39:32 +03:00
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>
2024-09-12 22:27:25 +03:00
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.
2024-07-08 23:14:30 +03:00
gabime
2d4acf8cc3
Added mdc example
2024-04-30 13:11:01 +03:00
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.
2023-12-22 14:39:06 +02:00
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +03:00
gabime
9d52261185
clang format
2023-09-25 16:08:29 +03:00
gabime
a98d3ab0c7
clang format
2023-09-09 12:56:47 +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
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