Muhammed Galib Uludag
f7339dfc92
readded overwritten SPDLOG_BUF_TO_STRING(x) x definition line
3 years ago
Muhammed Galib Uludag
3bf1a3b8d9
ported implementation from fmtlib's color header
...
* ported implementation from fmtlib's color header
- creating/changing fg/bg color and emphasis fmt style syntax `->set_style(spdlog::level::error, spdlog::fg(spdlog::color::white) | spdlog::bg(spdlog::color::red) | spdlog::emphasis::bold | spdlog::emphasis::italic);`
* added `SPDLOG_WINDOWS_USE_ANSICOLOR` macro for using ansi escape color codes on windows (default wincolor_sink). must be defined before inluding `stdout_color_sinks.h` header.
3 years ago
Muhammed Galib Uludag
44873cda87
added compiler and feature check macros from fmt core header
...
these macros used for adopting fmtlibs's color header
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
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