gabime
c10be7eaec
merge with v1.x
2020-02-26 18:13:13 +02:00
Gabi Melman
fccee959b1
Merge pull request #1418 from ban-dana/v1.x
...
Add eventlog_sink for logging to Windows Event Log (local only)
2020-02-09 23:27:00 +02:00
Michael R. Crusoe
a8d6e60ec6
Enable running the tests against an installed copy of spdlog
2020-02-07 15:39:26 +01:00
tt4g
eb234bbf91
Don't run spdlog-utests and spdlog-utests-ho in parallel
...
spdlog-utests and spdlog-utests-ho use the same log output directory, so some tests will randomly fail when run in parallel.
2020-02-07 22:20:54 +09:00
bandana2004
db1a221427
Add eventlog_sink for logging to Windows Event Log (local only).
2020-02-07 15:04:47 +02:00
gabime
877eee408e
renamed loaders with cfg
2019-12-22 20:40:19 +02:00
gabime
1f8e9ad0fc
renamed cfg namespace to loaders
2019-12-21 19:45:14 +02:00
gabime
e13e978af4
added loaders tests
2019-12-21 19:25:54 +02:00
gabime
21f7f78130
Update tests CMakeLists.txt
2019-11-04 23:16:44 +02:00
gabime
10116b7717
Removed SPDLOG_NO_DATETIME option
2019-11-04 17:43:30 +02:00
gabime
18edb8bd63
Added tweakme options to CMakeLists.txt
2019-11-04 17:19:18 +02:00
gabime
2b8afb38b7
Revert pull #1288
2019-10-28 23:41:40 +02:00
David Yip
288ea11534
Use _FILE_OFFSET_BITS=64 when building tests on Linux 32-bit systems
...
When cross-compiling spdlog from x86-64 to armhf, I ran spdlog-utests
via qemu-arm and noticed that the "daily_logger rotate" test was failing
because count_files always returned zero.
Investigation of count_files revealed that readdir was returning nullptr
immediately and setting errno to 75, i.e. "value too large for defined
data type". I suspected this had something to do with some 64 vs.
32-bit thing, so I added _FILE_OFFSET_BITS=64 to the build and that
seems to have made readdir happy.
It might be safe to add _FILE_OFFSET_BITS=64 for all Linux builds, but
it only seems to be necessary for the 32-bit case (which is a pretty
small audience these days -- I'm only building for armhf to target a
Raspberry Pi 3 running Raspbian, which runs in 32-bit mode).
2019-10-28 13:23:01 -05:00
gabime
4a620a2c5e
Merge branch 'Issue-1248' into v1.x
2019-10-25 16:56:26 +03:00
Andrei-Florin BENCSIK
2cc620ef33
Function instead of macro
...
Be more consistent with the existing code and with the naming
_function -> function
2019-10-25 11:15:07 +03:00
Andrei-Florin BENCSIK
cee705ccd3
Minor cmake code duplication improvement
...
Create a macro to add tests for both static/header only.
The only differneces between these two are the libraries they link
with and the target names. Created the simple macro:
_spdlog_prepare_test(<target> <spdlog_lib>)
which does the work.
Signed-off-by: Andrei-Florin BENCSIK <andrei.bencsik@gmail.com>
2019-10-24 22:57:47 +03:00
gabime
9b7812a0f2
auto create log dir
2019-10-20 17:40:56 +03:00
gabime
494cc8bace
Implemented daily sink rotation #661
2019-09-15 18:34:29 +03:00
gabime
5c1e44a93d
Added bactrace tests
2019-08-27 18:06:27 +03:00
gabime
0335e3fcc0
Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined
2019-08-19 11:31:33 +03:00
gabime
b3ddef2fc2
Minor cmake fix in for tests
2019-07-07 14:09:23 +03:00
Gabi Melman
7a686d4d21
Update CMakeLists.txt
2019-07-01 15:03:53 +03:00
gabime
bb0f3839c1
Updated CMake options and defaults
2019-07-01 02:06:09 +03:00
gabime
9aa6cdc494
Updated systemd sink and tests
2019-06-28 17:29:52 +03:00
Gabi Melman
dc054c3f8a
Merge branch 'v1.x' into v1.x
2019-06-28 08:07:15 +03:00
Jorge Bellon-Castro
a13981ffe4
Provide source location support for systemd_sink.h
2019-06-27 18:18:48 +01:00
gabime
98e151fda7
Added tests for dup_filter sink
2019-06-27 17:40:40 +03:00
gabime
08de642536
Added stdout tests
2019-06-20 01:02:54 +03:00
gabime
cf64f2baca
Fixed CMake address sanitizer
2019-06-10 18:32:10 +03:00
gabime
68a0193d95
CMake refactoring to functions
2019-06-10 18:09:36 +03:00
gabime
76fc166e11
CMakeLists.txt minor improvments
2019-05-29 01:41:48 +03:00
gabime
fc53e3339f
CMakeLists.txt minor improvments
2019-05-29 01:33:20 +03:00
gabime
30bd80bd85
CMake improvements
2019-05-29 00:05:24 +03:00
David Zemon
dd2f293f33
Clean up CMake a bit more
2019-05-17 23:33:44 -05:00
David Zemon
6fe899af10
Set Threads::Threads dependency on spdlog libs - don't make user do it
2019-05-17 23:28:53 -05:00
David Zemon
55e7844ca0
Remove the namespaced
...
Namespaces are good for avoiding collisions, but since the
non-namespaced targets still exist, it does no good to add the
namespaced targets on top.
2019-05-17 23:27:44 -05:00
David Zemon
8dd85285e7
Allow user to choose between static or shared library
2019-05-17 23:26:06 -05:00
gabime
872ea6bf09
Deleted redundant Make files and solutions
2019-05-13 01:13:58 +03:00
gabime
3fa76b2d8f
Renamed test filename
2018-11-22 12:31:16 +02:00
gabime
52e2722412
Renamed test filenames
2018-11-20 12:14:21 +02:00
gabime
f2f9f324ec
Updated default API impl and tests
2018-10-13 19:23:11 +03:00
gabime
dace099348
Added fmt_helper tests
2018-09-28 01:30:29 +03:00
Daniel Chabrowski
fb37585bc1
Little cmake and tests refactor
...
Change from spdlog_ex to const spdlog_ex& got rid of the GCC8 warning.
2018-08-14 21:33:47 +02:00
gabime
057bf1b92d
Added some mpmc_q tests
2018-08-14 17:57:55 +03:00
Daniel Chabrowski
7e32ccbd8f
Modify travis-ci, fix issues
...
Added:
* Release/Debug job for gcc 7 and clang 3.5
* Debug asan gcc 7 job
* Debug tsan gcc 7 job
* Disabled extensions
* Added a spdlog::spdlog alias for tests
Removed:
* Valgrind workaround, the current version is 3.10.1
* install_libcxx
* Makefiles
Fixed:
* examples build
* multisink build
Workarounds:
* gcc7 with tsan and asan needs gold linker, otherwise build
fails becase of unrecognized option '--push-state'
2018-08-11 02:24:45 +02:00
gabime
b9d7c45e40
Use blocking queue
2018-05-22 21:59:27 +03:00
gabime
a8b5bb894e
fixed cmake for tests
2018-02-23 16:49:26 +02:00
Gabi Melman
851b49e147
Update CMakeLists.txt
2018-02-22 13:37:50 +02:00
Daniel Chabrowski
646a140ed4
Specify CXX language explicitly in CMake
...
Marking project as CXX will disable detecting C compiler and other checks.
Removed 'INCLUDES DESTINATION' as it made the include path appear doubled.
2018-02-11 21:13:33 +01:00
yisonPylkita
38ccd51399
Modern CMake in /tests
2018-01-28 00:49:03 +01:00