Commit Graph

110 Commits

Author SHA1 Message Date
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
gabime 8208b49298 Minor change is typedef order 2015-05-09 21:44:02 +03:00
gabime 6991857a8e Added SPDLOG_NO_REGISTRY_MUTEX option to tweakme.h 2015-05-09 21:32:53 +03:00
gabime 9cad840a72 Revert "vector / mutex"
This reverts commit a74e280bb4.

Conflicts:
	include/spdlog/tweakme.h
2015-05-09 17:15:07 +03:00
Denis Ivaykin a74e280bb4 vector / mutex 2015-05-09 13:14:16 +02:00
gabime 256c64d72f Fixed registry functions 2015-04-11 17:15:20 +03:00
gabime 623f59ce6f Added register_logger to spdlog.h to register manually created loggers 2015-04-11 16:36:31 +03:00
gabime 3556c87a51 Fixed issue #61 (spdlog::set_level(...) does not affect loggers created afterwords) 2015-03-18 23:31:17 +02:00
gabime 89afa909e1 shortened enum policy name and moved into common.h 2015-01-15 10:34:50 +02:00
Denis Ivaykin 295e189b7e astyle 2015-01-14 15:39:11 -06:00
Denis Ivaykin 365d895482 discard policies on queue overflow 2015-01-14 15:35:01 -06:00
Denis Ivaykin 384cdeb225 nullptr default, astyle 2015-01-14 09:51:22 -06:00
Denis Ivaykin d47fbbb79e worker warmup callback 2015-01-14 09:21:34 -06:00
gabi bf3997de28 Added drop_all 2014-12-27 13:01:15 +02:00
gabime 28da625a6f removed the confusing stop() function 2014-12-21 03:11:40 +02:00
gabime 40a55b8e34 astyle 2014-12-21 02:47:04 +02:00
gabime d163b8c45a astyle 2014-12-21 02:42:37 +02:00
gabime b1867cfba3 log levels now lowercase 2014-12-21 01:30:39 +02:00
gabi d37bded994 More improvements to the async logger 2014-12-07 04:18:07 +02:00
gabime 0db417f9af merged drop() from master 2014-12-02 02:16:56 +02:00
gabi 4cb6aa90b2 New async_logger class and API 2014-11-24 01:29:09 +02:00
gabi 2ac49b90e6 Bug fix in registry 2014-11-07 16:57:10 +02:00
gabi 58688d7d1c Removed close() from sink to have RAII semantics 2014-11-05 23:07:20 +02:00
gabi 0c6518961d Fix level 4 warnings under VS 2014-11-05 01:47:28 +02:00
gabime 74aae4f368 readme 2014-11-01 03:20:54 +02:00
gabime e8403e17df astyle 2014-11-01 02:28:49 +02:00
gabi 567e85e6d4 bench 2014-11-01 02:12:12 +02:00
gabi 31971bf63b updated example and added more creation functions 2014-10-31 03:17:40 +02:00
gabi c7b8c762fb spdlog 2014-10-31 01:13:27 +02:00