Gabi Melman
d546201f12
Merge pull request #2381 from Esri/john4744/android_fmt_compile_time_check
...
Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING
2022-05-19 23:29:16 +03:00
John Armstrong
799802f93b
Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING
2022-05-19 11:32:54 -07:00
Aengus.Jiang
3d7ee64661
fix error: cannot bind lvale to right reference
2022-05-19 22:50:04 +08:00
Alexander Shpilkin
876880fb3f
Reflect CMAKE_INSTALL_INCLUDEDIR in pkg-config
2022-05-19 17:49:16 +03:00
Alexander Shpilkin
afb69071d5
Allow absolute CMAKE_INSTALL_LIBDIR
2022-05-19 17:48:57 +03:00
Gabi Melman
0d8197cc9d
Update common.h
...
Init file event handlers to nullptr
2022-05-13 23:06:11 +03:00
Gabi Melman
e36b69a0ec
Merge pull request #2376 from jengelh/master
...
build: expand SOVERSION to not give false illusion of compatibility
2022-05-13 11:29:10 +03:00
Gabi Melman
0ef5228a77
Merge pull request #2372 from kslattery/v1.x
...
C++14 build fixes for older gcc #2333
2022-05-13 11:01:19 +03:00
Gabi Melman
e05b8542a0
Merge pull request #2375 from kslattery/bugfix/default_file_event_handlers
...
Add default file-event_handler callbacks. #2374
2022-05-13 10:58:55 +03:00
Jan Engelhardt
41efc971ad
build: expand SOVERSION to not give false illusion of compatibility
...
Fixes #2369
2022-05-13 09:44:09 +02:00
Kevin Slattery
d89a1e66d8
Add default file-event_handler callbacks. #2374
2022-05-12 19:49:01 -05:00
Kevin Slattery
d3dee23e6c
Remove new macro, update example with correct way to specify fmt lib namespace when fmt_lib namespace alias cannot be used.
2022-05-12 18:55:08 -05:00
Kevin Slattery
5f5e70e96e
C++14 build fixes for older gcc #2333
2022-05-11 15:14:41 -05:00
gabime
128cbe5a06
clang-format
2022-05-08 13:01:45 +03:00
gabime
6d587f5181
Use fmt::detail::vformat_to(buf, ...) since it is ~20ns faster than fmt::vformat_to(std::back_inserter(buf),..)
2022-05-08 13:01:02 +03:00
Gabi Melman
9b4b373121
Merge pull request #2365 from conr2d/feature/need_localtime
...
Allow overriding need_localtime for custom formatter
2022-05-07 21:53:32 +03:00
Jeeyong Um
aa7490d187
Set eol to the test for overriding need_localtime
2022-05-08 01:20:27 +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
Gabi Melman
bd0198de2d
Merge pull request #2364 from stkw0/v1.x
...
fix clone async test
2022-05-07 14:18:28 +03:00
David Roman
ece96216c4
fix clone async test
...
Fix #2363
2022-05-07 12:30:41 +02:00
Gabi Melman
a9347017db
Merge pull request #2358 from tiolan/topic/android_buffer_v1_x
...
V1: Allow modifying the used Android buffer
2022-05-07 00:27:55 +03:00
Timo Lange
2eedf1fa28
remove usage of forward args
2022-05-06 17:06:35 +02:00
Timo Lange
0a875d7b2d
use __android_log_write or __android_log_buf_write based on template paramter
2022-05-06 08:55:41 +02:00
Gabi Melman
173d06578f
Fixed move in ringnuffer_sink
2022-04-27 08:35:50 +03:00
Gabi Melman
b299855ef2
Merge pull request #2346 from sylveon/v1.x
...
Switch to vformat_to
2022-04-27 08:20:48 +03:00
Charles Milette
8338a48c5b
Remove fmt_helper::to_string
2022-04-26 23:27:55 -04:00
Charles Milette
cd4f6c1466
Replace fmt_helper::to_string by a macro
2022-04-26 23:25:35 -04:00
Charles Milette
37dd6bb159
Address PR review comments
2022-04-25 21:59:56 -04:00
Charles Milette
714cf12822
Add fmt_helper.h include to includes.h and os-inl.h
2022-04-22 23:28:28 -04:00
Charles Milette
ee00f2e07d
Remove fmt_helper.h include from logger.h
2022-04-22 22:52:56 -04:00
Charles Milette
c203b4df8e
Fix conversion from fmt::memory_buffer to fmt::string_view
2022-04-21 23:38:12 -04:00
Charles Milette
56adf64ccf
Actually fix bad #ifdef
2022-04-21 22:43:13 -04:00
Charles Milette
91019f4f46
Fix bad #ifdef
2022-04-21 22:36:04 -04:00
Charles Milette
3cf94968e7
Add missing include
2022-04-21 22:11:16 -04:00
Charles Milette
ebeb3707b1
Switch to vformat_to
...
Drive-by: reduce the amount of occurences of #ifdef SPDLOG_USE_STD_FORMAT
2022-04-21 21:59:02 -04:00
Gabi Melman
b3ce5ed379
Remove comment
2022-04-21 15:24:37 +03:00
Gabi Melman
78fbc69c94
Merge pull request #2336 from aengusjiang/v1.x
...
[issues/2332]clean code, clean up the warning
2022-04-21 15:17:14 +03:00
Gabi Melman
4ccbb5a71a
Merge pull request #2342 from espkk/v1.x
...
Make file_event_handlers an aggregate
2022-04-15 12:22:35 +03:00
espkk
e6265c04ae
Make file_event_handlers an aggregate
2022-04-15 11:54:11 +03:00
Aengus.Jiang
184fae06d7
clean code, clean up the warning
2022-04-10 13:13:59 +08:00
gabime
76fb40d954
clang format
2022-04-04 16:48:58 +03:00
gabime
757e9f8ec6
Bump version to 1.10.0
2022-04-04 16:48:24 +03:00
Gabi Melman
fc51c095ba
Merge pull request #2328 from Delgan/GH-2323-add-systemd-identifier
...
Add optional "ident" argument to systemd sink constructor
2022-04-02 11:00:18 +03:00
Delgan
36b4b9dac9
Add optional "ident" argument to systemd sink constructor
2022-04-01 23:20:28 +02:00
Gabi Melman
083ea59fbd
Merge pull request #2324 from Delgan/GH-2320-add-systemd-formatter
...
Add option to enable formatting of systemd sink
2022-03-30 00:40:36 +03:00
Delgan
c1aeefb0c9
fixup! Add option to enable formatting of systemd sink
...
Add default value to "systemd_sink" contructor
2022-03-29 22:26:52 +02:00
Delgan
3c1ee54112
Add option to enable formatting of systemd sink
2022-03-27 11:31:49 +02:00
Gabi Melman
a49456f7f2
Merge pull request #2317 from risa2000/patch-1
...
Fixed compiler error when building on Windows with #define UNICODE
2022-03-24 06:45:08 +02:00
risa2000
52dc210423
Fixed compiler error when building on Windows with #define UNICODE
...
The original `InetPton` expands to `InetPtonW` when building with UNICODE defined and expects the string parameter to be wchar_t. On the other hand macro `TEXT()` just adds prefix `L` to a string literal (just making it wchar_t literal). The proper way here would be converting `host.c_str()` result from UTF-8(?) into wchar_t (UNICODE) string, but this seems to be an overkill since the host is typically an IP address or a host/domain name. So assuming an ASCII input should be reasonably safe.
2022-03-22 16:20:45 +01:00