1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-01 02:42:41 +08:00
Commit Graph

56 Commits

Author SHA1 Message Date
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
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
6de0ffa15f Updated clang format to google style 2023-09-25 02:35:55 +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
19d4e60561 Replaced details::make_unique with std::make_unique 2023-09-22 18:24:45 +03:00
Robin Lindén
6df64c6c34
Fix -Wshadow warnings in spdlog::sinks::dist_sink (#2599)
This is similar to fbba6dff20 but fixes a
few member functions missed in that commit.
2023-01-10 00:25:26 +01:00
gabime
fbba6dff20 Fix #2431 2022-10-31 23:23:57 +02:00
Gabi Melman
752d5685dc Moved pattern formatter from spdlog/details to spdlog/ 2020-03-21 13:33:04 +02:00
gabime
6f977248bf Impl #1298 2019-12-01 01:28:28 +02: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
099137fe9a backtrace_sink code cleanup 2019-08-25 18:05:47 +03:00
gabime
a7f7984c4a backtrace support api 2019-08-25 17:24:17 +03:00
gabime
5dd260c336 Added missing include to dist_sink 2019-06-25 17:56:25 +03:00
gabime
bcfa9241b8 Updated copyright headers 2019-06-04 00:09:16 +03:00
gabime
78eeba940a Fix issue #114 2019-06-03 23:20:53 +03:00
gabime
46ef71e3ec Normalized copyright message 2019-05-11 20:06:17 +03:00
gabime
23fdc0eae4 Fixed issue #959 2019-01-17 17:09:35 +02:00
gabime
b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
DimRochette
3079551d30
fix namespace of make_unique 2018-10-10 11:23:25 +02:00
gabime
669a66f18a format 2018-09-26 23:48:59 +03:00
gabime
7704e41336 Fixed issue #833 2018-09-26 15:43:23 +03:00
Jeremy Nimmer
679fcd787f Add set_sinks method to dist_sink
This allows users to set exactly the sinks they want, even if other
unknown application code has added bespoke sinks in the meantime.
2018-08-29 12:29:32 -04:00
gabime
9e4925eff0 clang format 2018-07-21 23:48:07 +03:00
gabime
c2a49080aa Refactored sink interface and base_sink 2018-07-14 16:21:53 +03:00
gabime
39c6eb752a Code formatting 2018-07-07 13:22:43 +03:00
gabime
a9a7309001 fixed dist_sink.h 2018-07-07 13:22:09 +03:00
gabime
a21594bec7 move underscores to the end of private members 2018-06-10 22:59:17 +03:00
gabime
caa26a2a47 Normalized spdlog include paths 2018-04-29 01:31:09 +03: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
fb6df0512f modernize-use-override 2018-02-24 23:56:56 +01:00
Daniel Chabrowski
7f4c1bb77c modernize-use-using 2018-02-24 22:35:09 +01:00
gabime
26b390bb19 removed lock from dist_sink::_flush() (moved to base_sink::flush()) 2017-12-02 17:24:02 +02: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
gabime
13fb2550c6 Fixed issue #449 2017-05-21 20:39:54 +03:00
gabime
095cb1f560 Added _flush() to base_sink 2017-05-21 03:43:41 +03:00
gabime
5653e5c9d7 astyle 2016-09-15 00:38:21 +03:00
davide
b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks 2016-09-12 22:26:38 +02:00
gabime
b13735dc22 astyle 2016-08-22 20:54:18 +03:00
gabime
aa0f62292b fixed dist_sink in gcc 2016-08-20 15:01:08 +03:00
gabime
916a686f8f astyle 2016-08-20 14:55:50 +03:00
gabime
c4298a989e dist sink cleanup 2016-08-20 14:52:26 +03:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime
495ecaeaee astyle 2016-04-03 02:14:54 +03:00
Kevin M. Godby
077c3095eb Added missing standard header includes. 2016-02-24 22:20:07 -06:00