Commit Graph

209 Commits

Author SHA1 Message Date
Alexander Zvyagin
af80db8c22 Add systemd sink. 2019-03-14 16:20:58 +01:00
Philip Miller
e41b92c55a fix inadvertent rename to original test function 2019-01-24 00:13:14 -05:00
Philip Miller
3925f8fa16 streamline constructor logic
and improve test for rotate_on_open=true
2019-01-24 00:06:15 -05:00
Philip Miller
4fe98bf6e6 Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 2019-01-11 10:04:42 -05:00
Ben Ridder
fb702f989f Fix typo in file_helper.h
* "extenstion" -> "extension"
2019-01-08 10:09:11 -08:00
gabime
112a7ada74 Fixd copy ellision warning in tests 2019-01-08 17:33:31 +02:00
gabime
fcb661d0e9 Fixed tests 2018-12-02 19:04:44 +02:00
gabime
d8eb0558e9 Fix test for mingw 2018-12-02 17:13:50 +02:00
gabime
0ce670e45a Store level names as string_views 2018-11-25 00:36:14 +02:00
gabime
2998815166 Added missing test file 2018-11-22 21:35:11 +02:00
gabime
a31719b546 clang-format 2018-11-22 18:49:14 +02:00
gabime
f97cb00737 Updated macros tests 2018-11-22 18:48:32 +02: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
3bfcb0468e clang-format 2018-11-16 12:56:57 +02:00
gabime
b2735eb30c Fixed fmt_helper tests 2018-11-16 12:56:36 +02:00
gabime
4a34cd0662 Optimized nano seconds formatting 2018-11-12 16:44:34 +02:00
gabime
7ce8ae72e8 Added test of pattern_formatter::clone() 2018-11-12 16:04:35 +02:00
gabime
cc7e122915 Added test of pattern_formatter::clone() 2018-11-12 16:04:09 +02:00
gabime
da84893921 Added test of pattern_formatter::clone() 2018-11-12 16:00:32 +02:00
gabime
1d5b6d7ae6 Added test of pattern_formatter::clone() 2018-11-12 15:59:03 +02:00
gabime
0e77c3391b New compile time API using SPDLOG_ACTIVE_LEVEL 2018-11-11 18:15:24 +02:00
gabime
617fcc92cf clang-format 2018-11-11 01:48:50 +02:00
gabime
18f0e4ba1a Added some pattern-formatter padding tests 2018-11-11 01:43:40 +02:00
gabime
a6fbb3ef4c Minor fix to test 2018-11-11 01:25:17 +02:00
Pablo Arias
fbc58ebef8 * using API call instead of macro for toggling automatic registration
* added unit test for disabling automatic registration
2018-11-10 14:34:04 +01:00
gabime
1b04c222cf Fixed issue #888 2018-10-30 00:54:22 +02:00
gabime
cadb3d7da2 Fixed test 2018-10-22 00:14:07 +03:00
gabime
6355e9895d Major change to log_msg - contain only string_view instead of buffer 2018-10-19 02:15:50 +03:00
Jerome Meyer
cb71fea0f6 Use fmt::string_view when logging a C string to avoid unnecessary copy 2018-10-18 11:04:20 -04:00
gabime
f2f9f324ec Updated default API impl and tests 2018-10-13 19:23:11 +03:00
gabime
b368d18b0f Added default logger API 2018-10-12 03:04:55 +03:00
gabime
3eadda9466 code formating 2018-10-05 15:21:05 +03:00
gabime
dea6a7c217 Tests: Fixed some clang-tidy warnings 2018-10-05 15:20:14 +03:00
gabime
36112371c0 Reverted const qualifier to log_msg& args, fixed issue #849, and added counter tests 2018-10-05 14:23:37 +03:00
gabime
b7a6659451 code formatting 2018-10-04 02:10:46 +03:00
gabime
dace099348 Added fmt_helper tests 2018-09-28 01:30:29 +03:00
gabime
5d34d21f40 Fixed issue #842 in tests 2018-09-26 14:45:57 +03:00
gabime
808bc1f4ed clang format 2018-09-25 01:11:36 +03:00
gabime
41d879e292 Added support for binary logging using to_hex(..) 2018-09-25 01:03:57 +03:00
Philip Miller
22f85deb2c Merge remote-tracking branch 'origin/v1.x' into pwm1234/rotate_on_open 2018-09-06 11:40:46 -04:00
Philip Miller
52a01b2cf2 add argument to rotating file sink for rotate_on_open
when true, the log file will be rotated when it is opened so the newly constructed file will start off being empty
2018-09-06 02:47:48 -04:00
gabime
f4bbe8b2b3 Fixed some extra warnings from clang 2018-08-31 14:17:11 +03:00
gabime
6c5bbca0c1 Added clone tests 2018-08-25 18:10:42 +03:00
gabime
5d7845c138 Added "clone()" support to loggers 2018-08-25 17:55:31 +03:00
Gabi Melman
23db7a213d
Merge pull request #801 from yhchen/v1.x
remove invalid files from project
2018-08-19 13:02:35 +03:00
yhchen
3151081ff3 remove invalid files from project 2018-08-19 17:21:15 +08:00
gabime
8418131ae3 Fixed mpmc_q test for osx in travis 2018-08-17 17:30:33 +03:00
gabime
9ad9cfb898 Fixed mpmc_q test for osx in travis 2018-08-17 17:17:16 +03:00
gabime
a58d7594cb Fixed issue #798 and added -Wconversion compiler flag to build 2018-08-17 00:32:13 +03:00