Commit Graph

78 Commits

Author SHA1 Message Date
gabime
e7e8b75a4c clang-format 2021-07-19 00:50:51 +03:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07: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
ed8d099607 Fixed #1197 2019-08-29 01:05:23 +03:00
gabime
c97c025adb clang-format 2019-08-27 20:22:07 +03:00
gabime
408a162044 Removed logger::clone() from API 2019-08-27 01:16:57 +03:00
gabime
04a8485b17 Replaced backtace implementation 2019-08-26 19:59:16 +03:00
gabime
292fc153ef clang-format 2019-08-26 00:55:14 +03:00
gabime
eec6e28b19 Async logger cleanup 2019-08-26 00:13:43 +03:00
gabime
f3e379cf78 Fixed async dump_backtrace 2019-08-25 23:55:35 +03:00
gabime
0284a23d0a Changed sink_it_ to accept const log_message& 2019-08-22 19:57:59 +03:00
k0zmo
789fb1e7c9 Move templated constructor definition to header file 2019-07-13 10:54:22 +02:00
gabime
bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime
6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 2019-05-12 00:22:39 +03:00
gabime
46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
gabime
005450ff13 wip 2019-05-11 13:52:46 +03:00
gabime
9564eb2edb Moved cpp files to inl.h 2019-05-11 13:19:53 +03:00
gabime
69fcaf14e5 wip static-lib 2019-04-27 18:44:48 +03:00
gabime
2de924a187 clang-format 2019-04-27 02:34:50 +03:00
gabime
c1c2ff2d07 wip 2019-04-27 02:33:33 +03:00
gabime
baefe0b3f6 wip 2019-04-26 15:11:01 +03:00
gabime
36112371c0 Reverted const qualifier to log_msg& args, fixed issue #849, and added counter tests 2018-10-05 14:23:37 +03:00
gabime
102c31a04c Accecpt iterators by value in logger ctor insted of ref 2018-10-04 02:06:39 +03:00
gabime
a06d32ae19 Fixed clang-tidy warnings 2018-09-27 01:14:35 +03:00
gabime
14c0417f3e Fixed clang-tidy warning 2018-09-27 00:47:09 +03:00
gabime
65defd3806 Replaced SPDLOG_FINAL macro with final 2018-09-26 14:33:37 +03:00
gabime
91d8869f36 Added "clone()" support to loggers 2018-08-25 17:35:20 +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
9cbdd5ffd4 Added async_nonblocking factory 2018-07-20 23:20:48 +03:00
gabime
b710e0fe86 Changed some functions to accept strings instead of ref to strings for better semantics 2018-07-19 15:00:05 +03:00
gabime
c2a49080aa Refactored sink interface and base_sink 2018-07-14 16:21:53 +03:00
gabime
7ed8e1b59d renamed async block policy 2018-07-08 00:53:50 +03:00
gabime
a21594bec7 move underscores to the end of private members 2018-06-10 22:59:17 +03:00
gabime
caa26a2a47 Normalized spdlog include paths 2018-04-29 01:31:09 +03:00
gabime
c50ba69689 removed un needed includes 2018-04-14 04:16:05 +03:00
gabime
6f4cd8d397 thread_pool and refactoring async 2018-04-14 03:34:57 +03: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
gabime
84d3c90b93 Fixed g++ 4.9 warnings after the clang-tidy fixes 2018-02-28 00:11:50 +02:00
Daniel Chabrowski
0c94ce0039 deleted copy op and a little format 2018-02-25 03:35:20 +01:00
Daniel Chabrowski
af50d5ef1f readability-inconsistent-declaration-parameter-name 2018-02-25 02:19:26 +01:00
Daniel Chabrowski
fb6df0512f modernize-use-override 2018-02-24 23:56:56 +01: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
ThePhD
d98d54896b use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
pattern_time -> pattern_time_type
ptime variable name -> pattern_time variable name
make sure four spaces used, not tabs
2017-05-31 12:52:12 -04:00
ThePhD
5c5080d304 implement a flag (in this case, an enumeration) that allows control over the type; we make it an enum for possible expansions of time abstractions that might make it into the C++ standard in the future (see Howard Hinnant's date/timezone library) or might be usefully-available from the OS at some point in time 2017-05-30 18:05:25 -04:00
Tennn
f8d509d010 Fixed issues 449
Please check it
2017-05-21 17:44:44 +08: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
82404f6f65 fix typo potentialy to potentially 2017-04-06 20:13:53 -04:00
gabime
0c276beaaf astyle 2017-03-28 02:08:18 +03:00