Commit Graph

25 Commits

Author SHA1 Message Date
gabime
0a53eafe18 update clang format again 2023-09-25 16:40:36 +03:00
gabime
4b2a8219d5 reformat code 2023-09-25 16:20:42 +03:00
gabime
9d52261185 clang format 2023-09-25 16:08:29 +03:00
gabime
1a0bfc7a89 clang format 2023-09-25 02:44:07 +03:00
gabime
1f61f5e019 clang format 2023-06-07 13:23:44 +03:00
SCC/楊志璿
42d1f40a18
Fix stdout_sink_base::log's behavior inconsistency (#2646)
* Fix stdout_sink_base::log's behavior inconsistency

It will flush every time when it if not defined _WIN32, but not in
Windows family.
We viewed the commit #48d4ed9 for fixing issue #1675 .
It seems missing this flushing operation in mistake.

* Use fflush at all operating system

* Remove redundant fflush from stdout_sink_base

---------

Co-authored-by: scc <scc@teamt5.org>
2023-03-23 10:24:48 +02:00
Shen-Ta Hsieh
8d46977060
Avoid c-style casting 2021-11-19 09:58:29 +08:00
Dimitris Apostolou
591eedcf36
Fix typos 2021-11-13 21:54:08 +02:00
gabime
e7e8b75a4c clang-format 2021-07-19 00:50:51 +03:00
Gabi Melman
8001156ca8
Update stdout_sinks-inl.h 2021-04-08 23:20:36 +03:00
Steven Hangger
0385372314
fix bug #1790 2021-04-05 20:00:22 +08:00
Gabi Melman
7828a065bf
Update stdout_sinks-inl.h 2021-02-13 17:45:00 +02:00
Gabi Melman
5efccfa5e2 Fix #1828 2021-02-13 16:11:07 +02:00
Gabi Melman
16d78ae5db
Update stdout_sinks-inl.h 2020-09-28 17:08:13 +03:00
gabime
680fb07fd5 Updatd WriteFile usage 2020-09-27 18:34:01 +03:00
gabime
48d4ed9bc0 Fix #1675 2020-09-27 18:27:41 +03:00
Gabi Melman
752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:33:04 +02:00
Cristian Morales Vega
7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
2019-11-06 19:15:29 +00:00
gabime
f5492aed12 Unified usage of fmt::memory_buffer across the codebase 2019-08-28 18:46:09 +03:00
Gabi Melman
3a94a60537
Update stdout_sinks-inl.h 2019-07-14 01:41:19 +03:00
k0zmo
ddb19f4a4f Add missing include directive 2019-07-13 10:55:17 +02:00
gabime
6e83abdbf2 Removed stdout_sinks from spdlog.cpp for faster library compile time 2019-06-28 01:01:22 +03:00
gabime
29f2eeea31 Removed formatter_ member from the sink interface 2019-06-27 23:56:37 +03:00
gabime
ab9e1b3aa7 Removed unneeded includes 2019-06-20 01:02:25 +03:00
gabime
1d86803e38 Fix #1116 2019-06-20 00:29:23 +03:00