Commit Graph

3551 Commits

Author SHA1 Message Date
Gabi Melman
685cc4edbc
Revert last commit 2020-08-20 00:00:54 +03:00
Gabi Melman
78369375e3
Update helpers-inl.h 2020-08-19 23:57:47 +03:00
Gabi Melman
6587058f74
Update argv.h 2020-08-19 23:56:56 +03:00
Gabi Melman
30f738e49a
Merge pull request #1651 from bareya/make_load_env_levels_inline
Make load_env_levels inline function
2020-08-19 23:55:40 +03:00
Piotr Barejko
726ca01e5c Make load_env_levels inline function 2020-08-19 12:43:41 -07:00
Gabi Melman
83b40b8cda
Merge pull request #1640 from dkruempe/v1.x
tcp_client.h bugfix for macOS and add tcp example
2020-08-06 13:06:08 +03:00
Dominik Krümpelmann
db0d0438ff tcp_client.h bugfix for macOS and add tcp example
-> fix the issue that the head is not compilable bc. of missing declaration
-> optimize if/else block in connection function. Else not needed bc. of break in if
2020-08-06 11:40:17 +02:00
Gabi Melman
3c527488e7
Update spdlog-inl.h 2020-07-24 13:06:29 +03:00
Gabi Melman
99abcf6ded
Merge pull request #1628 from eyalroz/issue-1627
Fix for issue #1627: Global get_level() and should_log()
2020-07-24 00:31:51 +03:00
Eyal Rozenberg
7009727559 Fix for issue #1627:
* Added: `spdlog::get_level()` API function - like `logger::level()`, except for the name change
* Added: `spdlog::should_log()` API function - like `logger: should_log()`
2020-07-23 23:05:12 +03:00
Gabi Melman
ae02fba141
Merge pull request #1624 from tambry/cmake_range
Bump CMake requirement to 3.10, don't enable C language
2020-07-21 14:28:42 +03:00
Raul Tambre
76cdeb62e3 Don't enable C language in CMake
spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
2020-07-21 11:39:40 +03:00
Raul Tambre
ae9627c64c Raise CMake requirement to 3.13
* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
2020-07-20 22:03:50 +03:00
Gabi Melman
58875bdcd7
Update tcp_client-windows.h 2020-07-14 23:15:49 +03:00
Gabi Melman
616caa5d30
Version 1.7.0 2020-07-09 20:24:20 +03:00
Gabi Melman
8236ee3ff6
Update version.h 2020-07-08 19:46:57 +03:00
Gabi Melman
19f2804661
Fix #1611 2020-07-08 18:50:51 +03:00
Gabi Melman
c62ba5f48d
Merge pull request #1606 from candrews/fmt-7
fmt 7.0.0 renamed the internal namespace to detail.
2020-07-06 20:41:13 +03:00
Craig Andrews
22bee8128a fmt 7.0.0 renamed the internal namespace to detail.
See: https://github.com/fmtlib/fmt/issues/1538
2020-07-06 13:01:52 -04:00
Gabi Melman
39150eb8c7
Update README.md 2020-06-18 18:43:12 +03:00
Gabi Melman
1b14fa53ef
Merge pull request #1591 from Pospelove/cmake-cleanup
Cleanup options-related lines in CMakeLists.txt
2020-06-12 15:29:57 +03:00
Leonid Pospelov
cf55e5d4f8 Cleanup options-related lines in CMakeLists.txt 2020-06-12 14:30:49 +03:00
Gabi Melman
1a1ea028f6
Merge pull request #1587 from podsvirov/increased-tolerance-waiting-time-for-mingw
Twice tolerance waiting time with MinGW
2020-06-10 23:47:19 +03:00
Gabi Melman
814c3445a3
Merge pull request #1586 from podsvirov/fix-shared-non-msvc
Fix shared library building failure on Windows with non MSVC
2020-06-10 23:46:46 +03:00
Konstantin Podsvirov
075dcee042 Twice tolerance waiting time with MinGW
Increased tolerance waiting time for MinGW in dequeue-empty-nowait test
case, because this test case not passed on slow and powerful computers.
2020-06-10 23:44:30 +03:00
Konstantin Podsvirov
fe97a03033 Fix shared library building failure on Windows with non MSVC
For example, now we can built shared library on Window with MinGW.

This changes improve features added in #1467.
2020-06-10 22:56:53 +03:00
Gabi Melman
f593aad786
Update .travis.yml 2020-06-08 18:03:55 +03:00
Gabi Melman
4a8c602a59
Update .travis.yml 2020-06-08 18:03:43 +03:00
Gabi Melman
7143dbc46a
Update appveyor.yml 2020-06-08 03:29:58 +03:00
gabime
e69699e12c enable_if 2020-06-08 00:38:30 +03:00
gabime
d6dbdbf27a Revert 7f15fb2a21 since it breaks the ABI 2020-06-07 14:50:57 +03:00
gabime
a0dae55a69 Revert 7f15fb2a21 since it breaks the ABI 2020-06-07 14:38:16 +03:00
Gabi Melman
7f15fb2a21
Merge pull request #1580 from TamasFlorin/custom_rotating_filename
Add support for custom filename calculator in rotating_file_sink.
2020-06-06 22:25:52 +03:00
Tamas Florin
d5aa8db36f Add missing os include for rotating_file_sink. 2020-06-06 21:08:03 +03:00
gabime
357b6c9d8c Added FMT_STRING bench 2020-06-06 14:26:50 +03:00
gabime
b0c4794305 Use default pointer type in enable_if 2020-06-06 14:25:36 +03:00
Tamas Florin
071206ef59 Add support for custom filename calculator in rotating_file_sink. 2020-06-04 13:38:21 +03:00
Gabi Melman
63ab8e6341
Merge pull request #1574 from Tridacnid/tridacnid/FMT_STRING
Add support for FMT_STRING compile time checking.
2020-06-04 11:42:01 +03:00
Joe Burzinski
741b0d6e82 Address code review comments: remove perfect forwarding on FormatString template parameters. 2020-06-03 21:47:48 -05:00
Joe Burzinski
3041faffab Address code review comments: revert perfect forwarding on places that didn't need it, remove negative compilation unit test. 2020-06-02 20:30:25 -05:00
Joe Burzinski
30ee690401 Add support for FMT_STRING compile time checking. Add negative compilation unit test for compilers and c++ standard that support relaxed constexpr. 2020-05-31 13:15:40 -05:00
gabime
22a169bc31 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2020-05-27 00:02:51 +03:00
Gabi Melman
ac19803d03
Merge pull request #1571 from IIFE/filename-deadlock
fix deadlock on filename() call. Thanks @IIFE
2020-05-27 00:01:58 +03:00
IIFEgit
95485ee89b keep filename as it's public 2020-05-26 21:59:57 +01:00
gabime
bc61f69058 Bump fmt version to 6.2.1 2020-05-26 23:47:57 +03:00
IIFEgit
0b86d6a451 fix deadlock on filename() call 2020-05-26 21:35:04 +01:00
gabime
0317731dc9 Fix #1569 2020-05-26 23:34:17 +03:00
Gabi Melman
3dedb52163
Merged again pr #1563 2020-05-20 22:50:35 +03:00
Gabi Melman
ad393b83a2
Revert 01dac453db 2020-05-20 22:39:25 +03:00
Gabi Melman
01dac453db
Merge pull request #1563 from vekkuli/fix_ringbuffer_sink_last
Fixed ringbuffer_sink last_raw and last_formatted
2020-05-20 22:30:46 +03:00