Commit Graph

52 Commits

Author SHA1 Message Date
gabime
521b0733d4 Support for source location in async loggers 2018-11-22 19:17:41 +02:00
rwen2012
794a636dd3 change the log_msg&& to log_msg& 2018-10-31 11:01:28 +08:00
gabime
1b04c222cf Fixed issue #888 2018-10-30 00:54:22 +02:00
gabime
392d126372 Renamed string_view_type -> string_view_t 2018-10-21 23:50:07 +03:00
gabime
894438d5fb Better support for string_view 2018-10-21 12:46:58 +03:00
gabime
70bef682b0 Fixed clang-tidy warning about implicit conversion to string_view 2018-10-19 17:12:02 +03:00
gabime
6355e9895d Major change to log_msg - contain only string_view instead of buffer 2018-10-19 02:15:50 +03:00
Jerome Meyer
cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy 2018-10-18 11:04:20 -04:00
gabime
1f4cae4bf7 Changed forward<log_msg> to std::move(log_msg) in thread pool 2018-10-05 14:50:30 +03:00
gabime
3b009f5aa6 Changed forward<worker_ptr> to std::move in async logger 2018-10-05 14:33:53 +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
18df6138a7 clang-format 2018-09-27 02:03:12 +03:00
gabime
4720b703f4 Fixed clang-tidy warnings 2018-09-27 01:58:39 +03:00
gabime
a06d32ae19 Fixed clang-tidy warnings 2018-09-27 01:14:35 +03:00
Gabi Melman
37cd707294
Fix issue #819 2018-09-03 19:08:57 +03:00
gabime
f4bbe8b2b3 Fixed some extra warnings from clang 2018-08-31 14:17:11 +03:00
gabime
750b520f41 Fix broken build 2018-08-14 16:38:35 +03:00
Luiz Siqueira
c543985cf4 use size_t instead of int for overrun counter 2018-08-14 09:21:52 -03:00
Luiz Siqueira
863f704f47 increment counter every time we overrid a message in async mode. 2018-08-14 08:51:20 -03:00
gabime
05d6960ebc code formatting and clang tidy warnings fixes 2018-08-13 10:30:02 +03:00
Gabi Melman
85a2bf1c17
Merge pull request #784 from baishuai/v1.x
add new line at end of file, fix compiler warnings #778
2018-08-08 22:29:14 +03:00
baishuai
a2fa7a833c add new line at end of file, fix compiler warnings 2018-08-08 22:59:57 +08:00
gabime
a12a21a18e Improved millis formatting 2018-07-25 23:33:03 +03:00
gabime
53cd47e19f Remove un needed declaration from thread_pool 2018-07-25 16:50:14 +03:00
gabime
ce5c1c24cf added explicit kw to ctor 2018-07-25 00:33:11 +03:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
b0059b290f Fix issue #761 2018-07-20 23:26:52 +03:00
gabime
16ee72da7c clang format 2018-07-10 23:53:00 +03:00
gabime
d409e5367b Revert d5468e50f6 2018-07-10 23:51:20 +03:00
gabime
d5468e50f6 Small optimization in thread pool 2018-07-10 20:42:27 +03:00
gabime
ef111ddba2 Fix issue #736 2018-07-10 20:20:55 +03:00
gabime
5bfeb672f7 updated slot size in async queue 2018-07-08 16:22:04 +03:00
gabime
7ed8e1b59d renamed async block policy 2018-07-08 00:53:50 +03:00
gabime
9dc44c39e7 Fixed bugs in stdout_sinks and in msvc 2018-07-07 14:04:31 +03:00
gabime
0358d115e0 removed std::string from async messages 2018-07-04 00:46:50 +03:00
gabime
cdbf2e361b Upgrade to fmt 5.x 2018-06-12 18:48:22 +03:00
gabime
a21594bec7 move underscores to the end of private members 2018-06-10 22:59:17 +03:00
gabime
7d975de193 removed message_counter from tp 2018-06-01 18:56:51 +03:00
gabime
4b9949de7b format 2018-06-01 17:52:05 +03:00
gabime
7815d39807 removed wait_empty() from tp and q 2018-06-01 17:25:23 +03:00
gabime
8338b45b2b added tp->wait_empty() 2018-05-27 02:53:16 +03:00
gabime
b002a21c36 use underscore at end of private members names 2018-05-26 19:02:20 +03:00
gabime
0d7a1d1ef9 format 2018-05-26 18:48:39 +03:00
gabime
59a15c02d3 use std::string in async_msg instead of fmt::MemoryWriter 2018-05-26 14:56:20 +03:00
gabime
e4ed7528e3 fixed class name 2018-05-26 14:50:42 +03:00
Gabi Melman
16376c18aa
Update thread_pool.h 2018-05-25 18:44:43 +03:00
gabime
b9d7c45e40 Use blocking queue 2018-05-22 21:59:27 +03:00
gabime
4ec17f1a1a Normalized spdlog include paths 2018-04-29 01:43:42 +03:00
gabime
3c7103d90d Format 2018-04-29 01:36:45 +03:00
gabime
67ddd59701 Move msg and remove spinning 2018-04-29 00:08:46 +03:00