Nigel Stewart
1eaf98cc10
SPDLOG_NO_SOURCE_LOC implementation refinement
2022-09-03 12:51:31 +10:00
Nigel Stewart
34f88d4382
cmake: SPDLOG_BUILD_PIC opt-in for CMAKE_POSITION_INDEPENDENT_CODE
2022-09-03 12:49:10 +10:00
Nigel Stewart
57e5814364
SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ and SPDLOG_FUNCTION information
2022-09-02 12:18:06 +10:00
Nigel Stewart
de67ebdda1
cmake: set(CMAKE_POSITION_INDEPENDENT_CODE ON) for Linux static library purposes
2022-09-02 12:08:42 +10:00
Gabi Melman
f44fa31f51
Fix #2434
2022-08-17 17:47:22 +03:00
Gabi Melman
64e0724bd6
Merge pull request #2468 from LorenDB/patch-1
...
Add openSUSE installation
2022-08-12 20:27:02 +03:00
Loren Burkholder
afb1699e0a
Add openSUSE installation
2022-08-12 11:39:47 -04:00
Gabi Melman
b75edfafca
Merge pull request #2449 from Simon-Janos/Re-introduce-redundant-std-move-at-return-for-old-compilers
...
Re-introduce std::move at return for old GCC (before version 5) inside an ifdef for e.g. CentOS 7
2022-07-27 10:10:54 +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
Gabi Melman
61879237e9
Merge pull request #2445 from Hish15/Hish15/CorrectDoc
2022-07-25 21:42:31 +03:00
Hector PHARAM
fb3ddf749d
Removed doc "(shared not supported in windows yet)"
2022-07-25 15:23:07 +02:00
Gabi Melman
7d805c2231
Merge pull request #2443 from ibmibmibm/v1.x
...
Explicitly casting level_enum to size_t.
2022-07-22 18:52:02 +03:00
Shen-Ta Hsieh
5f8877b665
Explicitly casting level_enum to size_t.
...
See commit 2a4c34b878
2022-07-21 20:24:01 +08:00
Gabi Melman
834840636c
Merge pull request #2439 from LucasChollet/duration
...
Expend support for any std::chrono::duration in spdlog::flush_every
2022-07-17 22:07:06 +03:00
Lucas CHOLLET
dfe1009080
Expend support for any std::chrono::duration in spdlog::flush_every
...
This allows things like:
spdlog::flush_every(std::chrono::minutes(10));
spdlog::flush_every(std::chrono::milliseconds(100));
2022-07-17 20:28:39 +02:00
Gabi Melman
6c95f4c816
Fix #2419 by documenting the set_pattern behaviour
2022-07-01 10:53:05 +03:00
Gabi Melman
d7690d8e7e
Merge pull request #2415 from neheb/mingw
...
test_stopwatch: fix on mingw
2022-06-27 01:51:11 +03:00
Rosen Penev
68f42a5b90
test_stopwatch: fix on mingw
...
There are some timing shenanigans with GCC's chrono that make this
unreliable. Add a start/stop and test for that to work around.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-25 19:07:36 -07:00
Gabi Melman
ab7b325906
Update README.md
2022-06-24 20:08:47 +03:00
Gabi Melman
a26e174b36
Merge pull request #2402 from cookcocck/fix_cmake_spdlog_use_std_format
...
Set c++20 when SPDLOG_USE_STD_FORMAT option is turned on
2022-06-19 02:24:01 +03:00
Gabi Melman
866fdaa6db
Merge pull request #2399 from bergen4/v1.x
...
add overrun_counter reset function
2022-06-19 02:22:56 +03:00
Gabi Melman
03315853df
Merge pull request #2386 from panzhongxian/v1.x
...
Romove the empty file if no log in first period in hourly logger
2022-06-19 02:22:28 +03:00
cookcocck
ca747c7572
Set c++20 when SPDLOG_USE_STD_FORMAT option is turned on
2022-06-14 11:12:49 +08:00
bergen
1f608a81e8
add overrun reset function
2022-06-09 19:45:40 +08:00
bergen
822f972842
update
2022-06-09 19:39:57 +08:00
Gabi Melman
298a200f69
Merge pull request #2396 from polesapart/v1.x
...
Remove redundant std::move at return
2022-06-02 22:53:54 +03: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
panzhongxian
1eafcfab70
Romove the empty file if no log in first period in hourly logger
2022-05-24 16:19:21 +08:00
Gabi Melman
9e8e52c048
Merge pull request #2385 from panzhongxian/v1.x
...
Remove `try_lock` from null_mutex.
2022-05-20 12:09:26 +03:00
panzhongxian
1f0c2f9f36
Remove try_lock from null_mutex.
2022-05-20 16:20:19 +08:00
Gabi Melman
fc93ddbefe
Merge pull request #2384 from aengusjiang/v1.x
...
fix error: cannot bind lvalue to right reference
2022-05-19 23:35:52 +03:00
Gabi Melman
ffd929c590
Merge pull request #2383 from alexshpilkin/fix-pkg-config
...
Fix pkg-config generation with unconventional `CMAKE_INSTALL_*DIR`
2022-05-19 23:32:00 +03:00
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