Commit Graph

4324 Commits (2d4acf8cc321d7783d8f2e22e17a794c6d0e9450)
 

Author SHA1 Message Date
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 3 years ago
Gabi Melman d7690d8e7e
Merge pull request #2415 from neheb/mingw
test_stopwatch: fix on mingw
3 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>
3 years ago
Gabi Melman ab7b325906
Update README.md 3 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
3 years ago
Gabi Melman 866fdaa6db
Merge pull request #2399 from bergen4/v1.x
add overrun_counter reset function
3 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
3 years ago
cookcocck ca747c7572 Set c++20 when SPDLOG_USE_STD_FORMAT option is turned on 3 years ago
bergen 1f608a81e8 add overrun reset function 3 years ago
bergen 822f972842 update 3 years ago
Gabi Melman 298a200f69
Merge pull request #2396 from polesapart/v1.x
Remove redundant std::move at return
3 years ago
Alexandre Pereira Nunes beefee7929
Remove redundant std::move at return (triggers -Wredundant-move in Gcc, at least) 3 years ago
panzhongxian 1eafcfab70 Romove the empty file if no log in first period in hourly logger 3 years ago
Gabi Melman 9e8e52c048
Merge pull request #2385 from panzhongxian/v1.x
Remove `try_lock` from null_mutex.
3 years ago
panzhongxian 1f0c2f9f36 Remove try_lock from null_mutex. 3 years ago
Gabi Melman fc93ddbefe
Merge pull request #2384 from aengusjiang/v1.x
fix error: cannot bind lvalue to right reference
3 years ago
Gabi Melman ffd929c590
Merge pull request #2383 from alexshpilkin/fix-pkg-config
Fix pkg-config generation with unconventional `CMAKE_INSTALL_*DIR`
3 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
3 years ago
John Armstrong 799802f93b Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING 3 years ago
Aengus.Jiang 3d7ee64661 fix error: cannot bind lvale to right reference 3 years ago
Alexander Shpilkin 876880fb3f
Reflect CMAKE_INSTALL_INCLUDEDIR in pkg-config 3 years ago
Alexander Shpilkin afb69071d5
Allow absolute CMAKE_INSTALL_LIBDIR 3 years ago
Gabi Melman 0d8197cc9d
Update common.h
Init file event handlers to nullptr
3 years ago
Gabi Melman e36b69a0ec
Merge pull request #2376 from jengelh/master
build: expand SOVERSION to not give false illusion of compatibility
3 years ago
Gabi Melman 0ef5228a77
Merge pull request #2372 from kslattery/v1.x
C++14 build fixes for older gcc #2333
3 years ago
Gabi Melman e05b8542a0
Merge pull request #2375 from kslattery/bugfix/default_file_event_handlers
Add default file-event_handler callbacks. #2374
3 years ago
Jan Engelhardt 41efc971ad build: expand SOVERSION to not give false illusion of compatibility
Fixes #2369
3 years ago
Kevin Slattery d89a1e66d8 Add default file-event_handler callbacks. #2374 3 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. 3 years ago
Kevin Slattery 5f5e70e96e C++14 build fixes for older gcc #2333 3 years ago
gabime 128cbe5a06 clang-format 3 years ago
gabime 6d587f5181 Use fmt::detail::vformat_to(buf, ...) since it is ~20ns faster than fmt::vformat_to(std::back_inserter(buf),..) 3 years ago
Gabi Melman 9b4b373121
Merge pull request #2365 from conr2d/feature/need_localtime
Allow overriding need_localtime for custom formatter
3 years ago
Jeeyong Um aa7490d187 Set eol to the test for overriding need_localtime 3 years ago
Jeeyong Um c03c925e29 Copy the value of need_localtime when cloning pattern_formatter 3 years ago
Jeeyong Um 38929f856d Allow overriding need_localtime for custom formatter 3 years ago
Gabi Melman bd0198de2d
Merge pull request #2364 from stkw0/v1.x
fix clone async test
3 years ago
David Roman ece96216c4
fix clone async test
Fix #2363
3 years ago
Gabi Melman a9347017db
Merge pull request #2358 from tiolan/topic/android_buffer_v1_x
V1: Allow modifying the used Android buffer
3 years ago
Timo Lange 2eedf1fa28 remove usage of forward args 3 years ago
Timo Lange 0a875d7b2d use __android_log_write or __android_log_buf_write based on template paramter 3 years ago
Gabi Melman 173d06578f
Fixed move in ringnuffer_sink 3 years ago
Gabi Melman b299855ef2
Merge pull request #2346 from sylveon/v1.x
Switch to vformat_to
3 years ago
Charles Milette 8338a48c5b
Remove fmt_helper::to_string 3 years ago
Charles Milette cd4f6c1466
Replace fmt_helper::to_string by a macro 3 years ago
Charles Milette 37dd6bb159
Address PR review comments 3 years ago
Charles Milette 714cf12822
Add fmt_helper.h include to includes.h and os-inl.h 3 years ago
Charles Milette ee00f2e07d
Remove fmt_helper.h include from logger.h 3 years ago