Eugene Smirnov
a3a0c9d663
compilation error gcc 8.5 with [-Werror=suggest-override] ( #3158 )
2024-08-27 04:04:04 +03:00
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +03:00
gabime
1a0bfc7a89
clang format
2023-09-25 02:44:07 +03:00
LE GARREC Vincent
58e2b455fb
Fix build with "-fvisibility=hidden"
2021-11-25 00:42:27 +01:00
sunlong169
acbf18d0dd
No need to define the Mutex mutex_ as mutable there is no const method.
...
There's no need to define the Mutex mutex_ as mutable since class base_sink has no const method.
2021-10-16 23:52:01 +08:00
gabime
e7e8b75a4c
clang-format
2021-07-19 00:50:51 +03:00
Matthias Moulin
9d3dde0900
Made mutex member variable mutable
...
Classes inheriting from `base_sink` can now lock the base mutex inside their `const` member methods (e.g., basic accessors).
2021-04-22 21:19:54 +02:00
gabime
c16eb80d7f
Fixed multiple clang-tidy warnings
2020-04-08 17:04:10 +03: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
fe20afac17
clang-format
2019-09-21 18:16:38 +03:00
gabime
c368500efd
Reverted some external template declarations
2019-09-20 02:05:24 +03:00
gabime
e7ab49c973
Added extern tempalate declarations
2019-09-20 01:28:02 +03:00
k0zmo
29fa474e4a
Use SPDLOG_HEADER_ONLY uniformly
2019-07-13 10:56:22 +02:00
gabime
29f2eeea31
Removed formatter_ member from the sink interface
2019-06-27 23:56:37 +03:00
gabime
bcfa9241b8
Updated copyright headers
2019-06-04 00:09:16 +03:00
David Zemon
8dd85285e7
Allow user to choose between static or shared library
2019-05-17 23:26:06 -05:00
gabime
46ef71e3ec
Normalized copyright message
2019-05-11 20:06:17 +03:00
gabime
9564eb2edb
Moved cpp files to inl.h
2019-05-11 13:19:53 +03:00
gabime
2b90ab496a
ansicolor_sink.cpp
2019-05-10 18:48:03 +03:00
gabime
6651a48c4d
wip
2019-05-08 17:50:23 +03:00
gabime
cd8e15dcd1
Fixed clang-tidy warnings
2018-09-27 01:39:26 +03:00
gabime
e8dae26176
Moved spdlog::make_unique to spdlog::details::make_unique and prevent T to be array
2018-09-26 23:48:36 +03:00
gabime
a74bbe7381
base_sink default ctor
2018-09-26 15:41:57 +03:00
gabime
729ec21629
Added virtual protected functions to base_sink
2018-09-26 15:29:19 +03:00
gabime
b393715bee
Added virtual protected functions to base_sink
2018-09-26 15:27:48 +03:00
gabime
65defd3806
Replaced SPDLOG_FINAL macro with final
2018-09-26 14:33:37 +03:00
gabime
05d6960ebc
code formatting and clang tidy warnings fixes
2018-08-13 10:30:02 +03:00
gabime
9e4925eff0
clang format
2018-07-21 23:48:07 +03:00
gabime
c2a49080aa
Refactored sink interface and base_sink
2018-07-14 16:21:53 +03:00
gabime
cd4dcbab36
Renamed simple_file_sink -> basic_file_sink
2018-07-07 12:12:45 +03:00
gabime
0c19bdd772
pattern per sink and pattern caching
2018-06-24 01:32:39 +03:00
gabime
15f3b0fea5
format
2018-06-10 23:03:55 +03:00
gabime
a21594bec7
move underscores to the end of private members
2018-06-10 22:59:17 +03:00
gabime
f886ae0005
Removed unneeded include
2018-04-29 01:39:36 +03:00
gabime
caa26a2a47
Normalized spdlog include paths
2018-04-29 01:31:09 +03:00
gabime
56e4a201ec
formatting
2018-03-17 12:47:46 +02:00
gabime
4445f6f869
formatting
2018-03-16 17:35:56 +02:00
gabime
5afb5dc782
Changed clang formatting for templates
2018-03-16 17:13:50 +02:00
gabime
a2653d409f
clang-format
2018-03-09 15:26:33 +02:00
Daniel Chabrowski
0c94ce0039
deleted copy op and a little format
2018-02-25 03:35:20 +01:00
Daniel Chabrowski
fb6df0512f
modernize-use-override
2018-02-24 23:56:56 +01:00
gabime
a9149c6d46
added lock on flush in base_sink
2017-12-02 17:06:59 +02:00
daylanKifky
27e7412640
modified path on quoted #includes
...
Paths pointing to the root of the library where replaced for ones relatives to each file.
For example, inside /include/spdlog/details/file_helper.h:
This will look for os.h in /include/spdlog/details/spdlog/details/ which doesn't exists.
replaced with:
2017-11-11 13:44:27 +01:00
Alexei Pastuchov
8fd16fc45e
code formatting (astyle and dos2unix)
...
it aims to solve the issue #467
2017-06-29 09:51:44 +02:00
Tennn
f8d509d010
Fixed issues 449
...
Please check it
2017-05-21 17:44:44 +08:00
gabime
095cb1f560
Added _flush() to base_sink
2017-05-21 03:43:41 +03:00
Jean-Michaël Celerier
53138c20fb
Add an optional final qualifier to types
...
When building with GCC's -Wfinal-types, a lot of types of spdlog
are marked as being more optimizable if they were marked final.
This patch adds a possibility for the user of the library to `#define SPDLOG_FINAL final`
and enjoy potentially better performance : GCC is then able to replace virtual calls by true
function calls if it can ensure that there are no derived types).
By default SPDLOG_FINAL is defined to nothing to not break existing code that
may be inheriting of some of these types for some reason.
2017-04-28 17:24:55 +02:00
odeits
6670d3b925
fix typos in base_sink.h
2017-04-06 20:16:49 -04:00
Gabi Melman
cee155c1dd
typo in comment
2016-08-01 00:38:59 +03:00
gabime
0d26359856
astyle
2016-04-20 11:57:49 +03:00