Commit Graph

78 Commits

Author SHA1 Message Date
gabime
420b17ae65 Fix issue #769 2018-07-26 21:09:40 +03:00
gabime
2894e8de5e clang format 2018-07-25 00:06:10 +03:00
gabime
cb9c984aa7 registery and periodic flusher fixes. 2018-07-24 22:59:34 +03:00
gabime
33329c80a9 code formatting 2018-07-23 00:13:52 +03:00
gabime
fe73255452 Fixed issue #759 2018-07-23 00:13:24 +03:00
gabime
693103af9c support set_formatter in spdlog.h 2018-07-22 21:52:46 +03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
a96b4d7529 Added periodic flusher support, and fixed some registry issues 2018-07-21 23:30:26 +03:00
gabime
c2a49080aa Refactored sink interface and base_sink 2018-07-14 16:21:53 +03:00
gabime
c9331594bb Renamed file to pattern_forammter.h and fixed utc support 2018-07-07 16:15:17 +03:00
gabime
9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 2018-07-07 14:04:31 +03:00
gabime
0c19bdd772 pattern per sink and pattern caching 2018-06-24 01:32:39 +03:00
gabime
cfbc8e52ba use underscore at end of private members names 2018-05-26 19:21:20 +03:00
Gabi Melman
001e22ebee
Update registry.h 2018-05-25 18:20:08 +03:00
gabime
4ec17f1a1a Normalized spdlog include paths 2018-04-29 01:43:42 +03:00
gabime
c962c88342 Fixed linux port of v1.x 2018-04-20 13:20:19 +03:00
gabime
924ef84241 Refactred spdlog.h and console sinks. Added global lock for all console sinks (traits) 2018-04-18 02:04:10 +03:00
gabime
6f4cd8d397 thread_pool and refactoring async 2018-04-14 03:34:57 +03:00
gabime
18c99682a8 fixed clang warning about uninitialized values 2018-03-17 14:08:10 +02:00
gabime
200815892f Fix clang-tidy warnings about missing braces around if and for statements 2018-03-17 13:42:09 +02: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
ad624432d8 google-explicit-constructor 2018-02-25 01:40:46 +01:00
Daniel Chabrowski
1e1ca23101 modernize-use-equals-default 2018-02-25 01:25:15 +01:00
Daniel Chabrowski
e5bbe57f01 cppcoreguidelines-pro-type-member 2018-02-25 01:15:35 +01:00
Daniel Chabrowski
7f4c1bb77c modernize-use-using 2018-02-24 22:35:09 +01:00
Sam Lunt
9f8413308a add global flush_on function 2018-01-03 09:36:09 -06: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
Carsten Neumann
8ee90d3349 Add create_async factory functions for async loggers 2017-06-15 11:08:44 -05:00
Tennn
f8d509d010 Fixed issues 449
Please check it
2017-05-21 17:44:44 +08:00
gabime
4efbd950d6 atyle 2016-08-20 13:55:50 +03:00
gabime
3af247fbd3 Added a way to iterate all registered loggers (issues #238 and #259). 2016-08-20 13:37:36 +03:00
gabime
e7debaacd7 astyle 2016-08-05 04:43:20 +03:00
gabime
39cdd08a54 no exceptions while logging 2016-08-05 03:56:40 +03:00
Philippe Serreault
ee815042dd In async mode, worker thread can now execute an optional teardown callback upon exit.
(Note: this can be helpful when a custom sink invokes a JNI callback, which implies that worker thread was previously attached to JVM, and needs to be cleanly detached upon exit)
2016-05-11 17:22:09 +02:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime
495ecaeaee astyle 2016-04-03 02:14:54 +03:00
gabime
2f8e22d828 check if logger already exists in the registry before creating it 2016-03-22 18:32:38 +02: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
Gabi Melman
678e4046d4 Update registry.h 2015-12-12 18:44:42 +02:00
gabime
8c38b4ee9e MIT license 2015-11-28 18:24:20 +02:00
gabime
0f76db880e astyle 2015-11-28 16:52:02 +02:00
gabime
1dcaa45443 fixed compliation error on gcc 4.8.x 2015-05-12 19:03:01 +03:00
Gabi Melman
e6fc8bf2e5 Merge pull request #93 from divaykin/auto-flush
async auto flush
2015-05-12 12:24:50 +03:00
Denis Ivaykin
432e1109dd flush interval part 2 2015-05-11 00:17:49 +02:00