Commit Graph

65 Commits

Author SHA1 Message Date
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined 2019-08-19 11:31:33 +03:00
gabime db1babab5e Fixed some msvc code analysis warnings 2019-08-18 18:28:13 +03:00
gabime 06fb5c7c69 Close issue #1113 2019-06-19 18:30:50 +03:00
gabime 33a42202c7 Replace string pointer with string_view in log_msg 2019-06-04 16:10:49 +03:00
gabime bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime c000a6164c Removed unused member from log_msg 2019-06-03 22:20:46 +03:00
gabime 61e4597488 Removed include of fmt_helper from thrad_pool.h 2019-05-13 00:02:55 +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 9564eb2edb Moved cpp files to inl.h 2019-05-11 13:19:53 +03:00
gabime 1ac6c9f9c2 clang-format static-lib 2019-05-08 17:17:11 +03:00
gabime 5d0eb6dda5 wip static-lib 2019-05-08 17:16:56 +03:00
gabime 69fcaf14e5 wip static-lib 2019-04-27 18:44:48 +03:00
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