Commit Graph

54 Commits

Author SHA1 Message Date
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
gabime 495ecaeaee astyle 2016-04-03 02:14:54 +03:00
Kevin M. Godby 077c3095eb Added missing standard header includes. 2016-02-24 22:20:07 -06:00
Kevin M. Godby 196689f720 Fixed header include problems. 2016-02-24 21:26:18 -06:00
gabime 8c38b4ee9e MIT license 2015-11-28 18:24:20 +02:00
Denis Ivaykin 63e0012e34 flush in logger 2015-05-09 13:24:01 +02:00
Denis Ivaykin 849b5cb84e flush 2015-05-08 22:57:52 +02:00
gabime 40a55b8e34 astyle 2014-12-21 02:47:04 +02:00
gabime d163b8c45a astyle 2014-12-21 02:42:37 +02:00
Jens Breitbart 67b633880b Replaced throw() with noexcept and removed some unneeded ';'. 2014-12-20 15:06:36 +01:00