Commit Graph

87 Commits

Author SHA1 Message Date
gabime
463af69d41 Clang format sort includes 2023-09-29 00:20:26 +03:00
gabime
4bb3b56102 relative includes wip 2023-09-28 00:42:16 +03:00
gabime
6dffd7c6e8 update clang format again 2023-09-25 16:40:05 +03:00
gabime
dcd5904bdc Updated clang-format
Merged with origin
2023-09-25 16:11:53 +03:00
gabime
6de0ffa15f Updated clang format to google style 2023-09-25 02:35:55 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
433cac487e Renamed spdlog::log_level to spdlog::level and added some level tests 2023-09-23 17:59:51 +03:00
gabime
392917f855 null_atomic_log_level and fix compile 2023-09-23 00:27:32 +03:00
gabime
e7e8b75a4c clang-format 2021-07-19 00:50:51 +03:00
JB_12
6c21789aed Fix C++20 build resulting in deprecated implicit copy assignment operator warning 2021-06-02 08:20:29 +01:00
Ron Rechenmacher
9e6f5b6b2d add single logger method and log_msg constructor and tests/test_time_point.cpp 2020-04-18 08:58:11 -05:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07:00
Cristian Morales Vega
7cdd65075c "#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it
may or not may be what we want. At least POSIX
(https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html)
says: "headers whose names are enclosed in double-quotes ( "" ) shall be
searched for first in the directory of the file with the #include line",
so not what we want since "spdlog" ends up twice in the path.
2019-11-06 19:15:29 +00:00
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