Marcel Röthke
4b35c63508
cmake: prevent leak of libfmt dependency into spdlog users
...
When linking dynamically against spdlog there is no need for the user of
the shared library to itself link against the dependencies of that
spdlog. Doing it anyway causes problems when one of the dependencies
gets a soname bump, because now the library user needs to be rebuild
despite not using a single symbol of the updated dependency.
3 years ago
Gabi Melman
81de01c02c
Merge pull request #2475 from nigels-com/-fPIC
...
cmake: set(CMAKE_POSITION_INDEPENDENT_CODE ON)
3 years ago
Gabi Melman
b60512731b
Merge pull request #2476 from nigels-com/SPDLOG_NO_SOURCE_LOC
...
SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ etc
3 years ago
Nigel Stewart
1eaf98cc10
SPDLOG_NO_SOURCE_LOC implementation refinement
3 years ago
Nigel Stewart
34f88d4382
cmake: SPDLOG_BUILD_PIC opt-in for CMAKE_POSITION_INDEPENDENT_CODE
3 years ago
Nigel Stewart
57e5814364
SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ and SPDLOG_FUNCTION information
3 years ago
Nigel Stewart
de67ebdda1
cmake: set(CMAKE_POSITION_INDEPENDENT_CODE ON) for Linux static library purposes
3 years ago
Gabi Melman
f44fa31f51
Fix #2434
3 years ago
Gabi Melman
64e0724bd6
Merge pull request #2468 from LorenDB/patch-1
...
Add openSUSE installation
3 years ago
Loren Burkholder
afb1699e0a
Add openSUSE installation
3 years ago
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
3 years ago
Simon-Janos
26f69ee9d2
Re-introduce redundant std::move at return for old GCC (before version 5) inside an ifdef for e.g. CentOS 7
3 years ago
Gabi Melman
61879237e9
Merge pull request #2445 from Hish15/Hish15/CorrectDoc
3 years ago
Hector PHARAM
fb3ddf749d
Removed doc "(shared not supported in windows yet)"
3 years ago
Gabi Melman
7d805c2231
Merge pull request #2443 from ibmibmibm/v1.x
...
Explicitly casting level_enum to size_t.
3 years ago
Shen-Ta Hsieh
5f8877b665
Explicitly casting level_enum to size_t.
...
See commit 2a4c34b878
3 years ago
Gabi Melman
834840636c
Merge pull request #2439 from LucasChollet/duration
...
Expend support for any std::chrono::duration in spdlog::flush_every
3 years ago
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));
3 years ago
Gabi Melman
6c95f4c816
Fix #2419 by documenting the set_pattern behaviour
4 years ago
Gabi Melman
d7690d8e7e
Merge pull request #2415 from neheb/mingw
...
test_stopwatch: fix on mingw
4 years ago
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>
4 years ago
Gabi Melman
ab7b325906
Update README.md
4 years ago
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
4 years ago
Gabi Melman
866fdaa6db
Merge pull request #2399 from bergen4/v1.x
...
add overrun_counter reset function
4 years ago
Gabi Melman
03315853df
Merge pull request #2386 from panzhongxian/v1.x
...
Romove the empty file if no log in first period in hourly logger
4 years ago
cookcocck
ca747c7572
Set c++20 when SPDLOG_USE_STD_FORMAT option is turned on
4 years ago
bergen
1f608a81e8
add overrun reset function
4 years ago
bergen
822f972842
update
4 years ago
Gabi Melman
298a200f69
Merge pull request #2396 from polesapart/v1.x
...
Remove redundant std::move at return
4 years ago
Alexandre Pereira Nunes
beefee7929
Remove redundant std::move at return (triggers -Wredundant-move in Gcc, at least)
4 years ago
panzhongxian
1eafcfab70
Romove the empty file if no log in first period in hourly logger
4 years ago
Gabi Melman
9e8e52c048
Merge pull request #2385 from panzhongxian/v1.x
...
Remove `try_lock` from null_mutex.
4 years ago
panzhongxian
1f0c2f9f36
Remove try_lock from null_mutex.
4 years ago
Gabi Melman
fc93ddbefe
Merge pull request #2384 from aengusjiang/v1.x
...
fix error: cannot bind lvalue to right reference
4 years ago
Gabi Melman
ffd929c590
Merge pull request #2383 from alexshpilkin/fix-pkg-config
...
Fix pkg-config generation with unconventional `CMAKE_INSTALL_*DIR`
4 years ago
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
4 years ago
John Armstrong
799802f93b
Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING
4 years ago
Aengus.Jiang
3d7ee64661
fix error: cannot bind lvale to right reference
4 years ago
Alexander Shpilkin
876880fb3f
Reflect CMAKE_INSTALL_INCLUDEDIR in pkg-config
4 years ago
Alexander Shpilkin
afb69071d5
Allow absolute CMAKE_INSTALL_LIBDIR
4 years ago
Gabi Melman
0d8197cc9d
Update common.h
...
Init file event handlers to nullptr
4 years ago
Gabi Melman
e36b69a0ec
Merge pull request #2376 from jengelh/master
...
build: expand SOVERSION to not give false illusion of compatibility
4 years ago
Gabi Melman
0ef5228a77
Merge pull request #2372 from kslattery/v1.x
...
C++14 build fixes for older gcc #2333
4 years ago
Gabi Melman
e05b8542a0
Merge pull request #2375 from kslattery/bugfix/default_file_event_handlers
...
Add default file-event_handler callbacks. #2374
4 years ago
Jan Engelhardt
41efc971ad
build: expand SOVERSION to not give false illusion of compatibility
...
Fixes #2369
4 years ago
Kevin Slattery
d89a1e66d8
Add default file-event_handler callbacks. #2374
4 years ago
Kevin Slattery
d3dee23e6c
Remove new macro, update example with correct way to specify fmt lib namespace when fmt_lib namespace alias cannot be used.
4 years ago
Kevin Slattery
5f5e70e96e
C++14 build fixes for older gcc #2333
4 years ago
gabime
128cbe5a06
clang-format
4 years ago
gabime
6d587f5181
Use fmt::detail::vformat_to(buf, ...) since it is ~20ns faster than fmt::vformat_to(std::back_inserter(buf),..)
4 years ago