Commit Graph

332 Commits

Author SHA1 Message Date
dkavolis
e471ec884e remove conditional is_convertible_* structs for wide chars 2021-08-09 17:33:00 +01:00
dkavolis
cb35191fc1 clang is acting weird with disabled constructors 2021-08-09 09:59:57 +01:00
Gabi Melman
14783585b6 Fix #2022 2021-07-29 10:09:52 +03:00
dkavolis
d8f13cbd5b replace FormatString template argument with fmt::basic_format_string 2021-07-22 16:23:56 +01:00
gabime
fe1a4f5fb6 Added SPDLOG_FMT_RUNTIME macro for compatibilty with fmt prior 8 2021-07-20 17:18:40 +03:00
gabime
4b3687f1a6 Removed unneeded macro definition 2021-07-19 01:11:45 +03:00
gabime
0f83b33d4f backward compatibility with fmt version < 8 2021-07-10 13:48:06 +03:00
gabime
d75fd2c7f9 Fixed wchar support under msvc 2021-06-26 19:43:37 +03:00
gabime
68aed6a5eb Fixed building under c++17 2021-06-26 17:36:57 +03:00
Mikael Lund
cd376a5c43 Allow compilation with nvc++ 2021-05-30 13:02:56 +01:00
steven lunt
ee22eed23d add macros for overriding the individual level names 2021-05-18 19:36:45 -04:00
steven lunt
ab72de5f7a Revert "added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES"
This reverts commit 2a16d1d230.
2021-05-18 19:25:07 -04:00
gabime
e9635c7b2d rethrnow non std exceptions to fix #533 2021-05-01 00:29:36 +03:00
steven lunt
2a16d1d230 added spdlog::level::set_string_view to enable alternate log level names without changing the build via SPDLOG_LEVEL_NAMES 2021-03-24 16:22:54 -04:00
gabime
44e1f9f682 Added nonreturn sepcifier to fix #1748 2021-03-17 00:25:26 +02:00
Gabi Melman
609480ed78 Merge pull request #1798 from gv-me/constexpr-log-levels
add constexpr to SPDLOG_LEVEL_NAMES declaration
2021-01-21 03:00:49 +02:00
Gaurav Vaidya
53d223b45f add constexpr to SPDLOG_LEVEL_NAMES declaration
for #1791
2021-01-11 11:16:06 +01:00
Charles Milette
9e19012cb0 Remove filename_memory_buf_t from headers 2021-01-10 18:19:28 -05:00
Charles Milette
fc594b551a Prevent win_eventlog_sink from silently discarding errors when wide support is enabled 2021-01-06 22:17:09 -05:00
Charles Milette
a453bccff0 Better support for / separators on Windows, improve wchar filename coverage 2021-01-06 04:15:14 -05:00
gabime
231ca50700 clang-format 2020-09-26 15:34:05 +03:00
gabime
9cd25dd216 Remove un needed hasher declaration 2020-09-01 23:49:54 +03:00
gabime
15066d1d37 clang-format 2020-04-29 01:19:23 +03:00
Gabi Melman
2170de8819 Update common.h 2020-04-28 18:42:59 +03:00
Gabi Melman
300ec667f6 Update common.h 2020-04-28 18:37:57 +03:00
Gabi Melman
348c4380d6 Fix #1535 2020-04-28 18:01:48 +03:00
Gabi Melman
3b87eb3d08 Moved throw to dedicated function throw_spdlog_ex 2020-03-21 23:25:12 +02:00
gabime
d1819f5f76 clang-format 2020-03-15 18:51:52 +02:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07:00
Dávid Bodor
6e763d2776 only include windows.h when it's unavoidable 2020-02-25 15:36:39 +01:00
gabime
695912c7cf Optimize ansicolor_sink to use array instead of map to find color codes 2020-02-15 12:06:01 +02:00
gabime
4f66313440 Fix #1308 2019-11-10 00:35:34 +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
188afe20f9 Fix issue #1249 2019-09-28 11:20:26 +03:00
Bak, Jin Hyeong
f8e780b9dd Fix #1239, Remove basic_string_view_t 2019-09-23 14:48:09 +09:00
gabime
2fed68a73b Reverted some external template declarations 2019-09-20 01:52:05 +03:00
gabime
5496491aa4 Added extern template declarations 2019-09-20 00:18:36 +03:00
Gabi Melman
35835469d7 Update common.h 2019-09-17 12:52:59 +03:00
Gabi Melman
0d6992fcdd Update common.h 2019-09-17 12:48:54 +03:00
gabime
1857a44c7c Fix #1215 2019-09-07 20:11:58 +03:00
gabime
f5492aed12 Unified usage of fmt::memory_buffer across the codebase 2019-08-28 18:46:09 +03:00
gabime
0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined 2019-08-19 11:31:33 +03:00
gabime
b0a25f0183 wip - no-exceptions support 2019-08-18 19:46:28 +03:00
Charles Milette
eb51f37c67 Fix ambiguous overload errors 2019-07-24 13:52:03 -04:00
gabime
39910f5137 Fixed execption include 2019-07-16 15:50:42 +03:00
gabime
fd53472238 Cleaned common.h 2019-07-07 17:22:58 +03:00
Matthias Moulin
be33f5eb89 Added wstring_view_t 2019-07-06 18:59:45 +02:00
Charles Milette
3bcd3cef2f Fix deprecation warnings in filename_to_str 2019-06-30 19:12:16 -04:00
gabime
78c833a09f clang-format 2019-06-18 17:05:27 +03:00
gabime
99e519cf0f Simplify color sinks 2019-06-18 12:32:51 +03:00