Commit Graph

73 Commits

Author SHA1 Message Date
gabime 6b527a50dd backtrace sink and refactoring 2019-08-22 19:36:47 +03:00
gabime 74df115fc1 Removed uneeded include 2019-08-22 00:59:16 +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 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 69fcaf14e5 wip static-lib 2019-04-27 18:44:48 +03:00
gabime 2de924a187 clang-format 2019-04-27 02:34:50 +03:00
gabime c1c2ff2d07 wip 2019-04-27 02:33:33 +03:00
gabime c1c6e6265c Fixed header only build 2019-04-09 16:42:44 +03:00
gabime 156b856a80 static lib wip 2019-04-05 16:57:49 +03:00
gabime e2e3df9013 static lib wip 2019-04-05 16:44:17 +03:00
scribam 1798a1fa12
Update log_msg.h
`SPDLOG_NO_THREAD_ID` should only affect thread retrieval.
2019-01-17 00:23:06 +01:00
David P. Sicilia 63a475d88c Do not attempt to default operator= when it is implicitly deleted 2018-11-27 20:23:51 -05:00
gabime a31719b546 clang-format 2018-11-22 18:49:14 +02:00
gabime f2305fe5bf Support for source file/line logging 2018-11-22 18:47:50 +02: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
Gabi Melman 2ad191aeba
Update log_msg.h 2018-10-20 18:27: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
gabime abf4af2645 Merge branch 'sized_buf' of https://github.com/peergynt/spdlog into peergynt-sized_buf 2018-10-18 23:29:42 +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 3e2d593dde always initialize level and thread_id in log_msg 2018-10-18 11:18:02 +03:00
gabime 1b8bf35acc Micro optimize: don't init log_msg.msg_id on construction. It will be set anyway later 2018-10-06 01:49:34 +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
Gabi Melman c5011181bb
Update log_msg.h 2018-10-01 14:27:43 +03:00
gabime 607779cccf micro optimization in log_msg constructor 2018-08-13 12:27:11 +03:00
gabime 0c19bdd772 pattern per sink and pattern caching 2018-06-24 01:32:39 +03:00
gabime cdbf2e361b Upgrade to fmt 5.x 2018-06-12 18:48:22 +03:00
gabime 4ec17f1a1a Normalized spdlog include paths 2018-04-29 01:43:42 +03:00
gabime 6f4cd8d397 thread_pool and refactoring async 2018-04-14 03:34:57 +03:00
gabime c8610d9a86 support for color formatting 2018-04-06 02:24:07 +03:00
gabime 56e4a201ec formatting 2018-03-17 12:47:46 +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 e5bbe57f01 cppcoreguidelines-pro-type-member 2018-02-25 01:15:35 +01: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
Tennn f8d509d010 Fixed issues 449
Please check it
2017-05-21 17:44:44 +08:00
gabime 6cc7e7382e astyle 2017-05-21 01:56:56 +03:00
gabime 98addad888 Disable colors if terminal no attached and simplfy ansicolor_sink 2017-05-21 01:36:03 +03:00
Alexander Zilberkant f29ff77ae7 implement message counter feature
adds %i logger pattern for printing log message sequence ID
2017-05-18 22:46:16 +03:00
gabime 0ae66b5b28 support for external fmtlib 2016-07-22 18:06:36 +03:00
gabime f5bde237dd Updated fmt lib to version 0d5ef5c2a66026409b0cfbafa1d2f46cdc5aa4d0 2016-07-15 18:35:43 +03:00
gabime 7ddfb2b877 fixed macros and other stuff for the no-streams branch 2016-07-09 00:46:00 +03:00
gabime 7885aa478c no streams 2016-07-08 17:50:13 +03:00
gabime 0d26359856 astyle 2016-04-20 11:57:49 +03:00