gabime
392917f855
null_atomic_log_level and fix compile
2023-09-23 00:27:32 +03:00
gabime
19d4e60561
Replaced details::make_unique with std::make_unique
2023-09-22 18:24:45 +03:00
Simon-Janos
26f69ee9d2
Re-introduce redundant std::move at return for old GCC (before version 5) inside an ifdef for e.g. CentOS 7
2022-07-27 07:16:36 +02:00
Alexandre Pereira Nunes
beefee7929
Remove redundant std::move at return (triggers -Wredundant-move in Gcc, at least)
2022-06-02 13:18:00 -03:00
Aengus.Jiang
3d7ee64661
fix error: cannot bind lvale to right reference
2022-05-19 22:50:04 +08:00
Jeeyong Um
c03c925e29
Copy the value of need_localtime when cloning pattern_formatter
2022-05-08 01:16:31 +08:00
Jeeyong Um
38929f856d
Allow overriding need_localtime for custom formatter
2022-05-07 20:44:00 +08:00
Adrien Bertrand
9cd9c98f59
pattern_formatter-inl: fix reorder-ctor warning
...
Fix `Wreorder-ctor` warning
```
spdlog/pattern_formatter-inl.h:1028:7: error: field 'custom_handlers_' will be initialized after field 'need_localtime_' [-Werror,-Wreorder-ctor]
, custom_handlers_(std::move(custom_user_flags))
^
```
Move the initialization of `need_localtime_(true)` right after `pattern_time_type_` as expected.
2022-02-15 11:26:25 -05:00
Kyuheon Kim
d497f494f0
Apply pattern width to one of the source information fields while missing source information
2022-02-08 20:29:58 +09:00
Gabi Melman
2382c87aa3
Update pattern_formatter-inl.h
2022-01-16 23:30:57 +02:00
doug1234
28b9adf794
Added the last few suggested changes.
2022-01-15 16:41:06 -05:00
doug1234
584d77237e
Several minor improvements based on code review suggestions.
2022-01-15 13:35:27 -05:00
doug1234
d9ec02d400
Fix mistake in previous checkin.
2022-01-14 20:06:26 -05:00
doug1234
5568b16ed5
Resetting the needs time flag when setting a pattern.
2022-01-13 21:35:02 -05:00
doug1234
eab522e743
Now only getting the date if formater needs to display date related information.
2022-01-13 20:57:14 -05:00
gabime
e7e8b75a4c
clang-format
2021-07-19 00:50:51 +03:00
Benjamin Sergeant
aa264a7fb2
Update pattern_formatter-inl.h
...
Comment describing the default logging pattern is missing [%s:%#], which is the abbreviated source file + the line number.
I tried to customize our own logger by copy pasting this info, and then I noticed we had lost that information.
2021-04-08 09:05:55 -07: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
a453bccff0
Better support for / separators on Windows, improve wchar filename coverage
2021-01-06 04:15:14 -05:00
Gabi Melman
dccb766095
Fix warning about enum usage
2020-09-27 19:08:24 +03:00
gabime
934a9bb23e
Fix issue #1617
2020-08-30 15:18:33 +03:00
gabime
81444265f4
clang-format
2020-04-19 11:33:36 +03:00
gabime
394f79e9d3
small refactoring
2020-04-15 19:44:54 +03:00
gabime
8bc1ca0e44
clang-format
2020-04-12 02:21:48 +03:00
gabime
d38bd138cd
Micro optimze pattern-formatter when padding not needed
2020-04-12 02:21:14 +03:00
gabime
5b0b8579b2
Fix #1485 by removing SPDLOG_NO_NAME option
2020-03-22 00:30:01 +02:00
gabime
0a5ada6411
clang-format
2020-03-21 15:25:26 +02:00
Gabi Melman
60a8c5f1c9
Added padding support and set_pattern to custom_flags
2020-03-21 15:03:41 +02:00
Gabi Melman
752d5685dc
Moved pattern formatter from spdlog/details to spdlog/
2020-03-21 13:33:04 +02:00