Commit Graph

1052 Commits

Author SHA1 Message Date
gabime
38c0ee018b astyle 2016-05-15 01:49:15 +03:00
gabime
9a9e9aace9 Merge branch 'master' of https://github.com/gabime/spdlog 2016-05-15 01:45:37 +03:00
gabime
80a432e646 cleaned common.h and moved some code around 2016-05-15 01:45:16 +03:00
gabime
58699a2bd4 astyle 2016-05-15 01:01:01 +03:00
gabime
10d5292bbb better support for custom eol 2016-05-15 00:53:35 +03:00
gabime
6760dcebc8 remove unneeded strlen when writing eol at end of each line (pass size of eol to write) 2016-05-14 23:54:48 +03:00
Gabi Melman
fe8fc8c638 Merge pull request #211 from hvellyr/master
RFC: Support custom eol style
2016-05-14 00:09:13 +03:00
hvellyr
b8425df76a Support custom eol style using a define in tweakme.h
By default use the platform convention (i.e. "\r\n" on windows), but
make it possible to set a custom end-of-line string without implementing
a custom formatter.
2016-05-13 21:20:29 +02:00
gabime
cae43ffef5 fixed issue #199 (_MSC_VER update for vs 2015 to use noexcept instead of throw()) 2016-05-13 16:10:12 +03:00
gabime
ea611f2d79 reduced spinning duation in async_log_helper 2016-05-13 18:01:49 +03:00
Kirill Leyfer
6603d5e31f Fix throwing exception if DYNAMIC_TIME_ZONE_INFORMATION fails under windows. 2016-05-13 15:46:10 +06:00
Gabi Melman
9b984ddbed Merge pull request #208 from SBAM/master
In async mode, teardown callback on worker thread exit
2016-05-11 19:06:55 +03:00
Philippe Serreault
ee815042dd In async mode, worker thread can now execute an optional teardown callback upon exit.
(Note: this can be helpful when a custom sink invokes a JNI callback, which implies that worker thread was previously attached to JVM, and needs to be cleanly detached upon exit)
2016-05-11 17:22:09 +02:00
Gabi Melman
409f24d104 Merge pull request #206 from gabime/revert-204-cmake-improvements
Revert "CMake script improvements"
2016-05-05 10:20:20 +03:00
Gabi Melman
6d5bce46f8 Revert "CMake script improvements" 2016-05-05 10:19:32 +03:00
Gabi Melman
14dd584c0b Merge pull request #204 from godbyk/cmake-improvements
CMake script improvements
2016-05-05 10:09:47 +03:00
Kevin M. Godby
a86eff5636 Turns out IS_DIRECTORY needs an absolute path. 2016-05-05 00:00:54 -05:00
Kevin M. Godby
a95f413c61 Make vendor targets optional. 2016-05-04 23:39:10 -05:00
Kevin M. Godby
350ff13d77 Added g3log and glog benchmarks. 2016-05-04 23:33:38 -05:00
Kevin M. Godby
254a6744e4 Fixed boost.log benchmark build. 2016-05-04 22:53:06 -05:00
Kevin M. Godby
2132fe0ec5 Initial work on benchmarks of other logging systems. 2016-05-04 22:46:30 -05:00
Kevin M. Godby
846fdf9f5c Added ctest so we now have a 'make test' target for running tests. 2016-05-04 19:55:00 -05:00
Kevin M. Godby
1b444345ab Cleaned up cmake file for examples.
It's no longer a standalone cmake file because cmake was crashing when
reading it as part of the subproject.
2016-05-04 19:53:50 -05:00
Kevin M. Godby
2907001e22 Fixed Catch tests. 2016-05-04 19:53:22 -05:00
Kevin M. Godby
e10a2fca65 Added missing base_sink.h include. 2016-05-04 19:25:48 -05:00
Kevin M. Godby
2666b6cbf1 Added header dependency tests. 2016-05-04 19:24:17 -05:00
Gabi Melman
5550eb9753 Merge pull request #202 from godbyk/autoflush
Automatically flush log if message level is above certain severity.
2016-05-04 02:07:45 +03:00
Kevin M. Godby
d9ff5df830 Moved flush call to logger::_log_msg() function. 2016-05-03 14:52:03 -05:00
Gabi Melman
292bdc5eb4 Merge pull request #203 from eao197/master
daily_file_sink with custom file name calculator
2016-05-03 20:29:07 +03:00
eao197
ef9842c36d daily_file_sink with custom file name calculator 2016-05-03 16:20:28 +03:00
Kevin M. Godby
6b966478c1 Automatically flush log if message level is above certain severity. 2016-05-02 17:23:12 -05:00
Gabi Melman
0143d9a92d Update async_log_helper.h
update comments
2016-04-23 01:17:14 +03:00
gabime
0d26359856 astyle 2016-04-20 11:57:49 +03:00
gabime
0f88996974 gitignore update 2016-04-15 00:27:57 +03:00
Gabi Melman
861d836de8 Merge pull request #195 from njwhite/master
Generate & Install pkg-config File
2016-04-15 00:22:24 +03:00
Gabi Melman
1d74f1d7c9 Merge pull request #196 from gorunovanton/stdout_sink_improvement
Performance improvement of stdout sink
2016-04-15 00:05:51 +03:00
Anton Goryunov
e0f08d6b29 - fixed includes in tests 2016-04-14 23:33:51 +03:00
Anton Goryunov
ba68a2d05d - std::cout replaced with fwrite to stdout in console sink 2016-04-14 23:05:05 +03:00
Nick White
b7e3a103c3 Generate & Install pkg-config File 2016-04-14 20:47:57 +01:00
gabime
083d6c0d2f rename atomic level type name 2016-04-10 01:43:52 +03:00
gabime
974379c9be Added support for SPDLOG_NO_ATOMIC_LEVELS in tweakme.h 2016-04-10 01:37:11 +03:00
gabime
d0120b48c5 tests 2016-04-10 00:02:33 +03:00
gabime
19dae96985 wchar filenames support - minor improvements 2016-04-10 00:02:19 +03:00
gabime
23200b08bb added .gitignore to tests/logs folder 2016-04-10 00:00:44 +03:00
Gabi Melman
9300889bed Merge pull request #193 from GreatFruitOmsk/issue-111
Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111
2016-04-09 23:05:15 +03:00
unknown
113ebcfd97 Add the SPDLOG_USE_WCHAR tweak to enable support for Unicode names on Windows. Refs #111 2016-04-08 12:26:31 -05:00
gabime
a79a045799 .gitignore 2016-04-03 12:07:30 +03:00
Gabi Melman
139b1bd094 Update LICENSE 2016-04-03 02:21:04 +03:00
Gabi Melman
86b95388f6 Update README.md 2016-04-03 02:18:33 +03:00
gabime
495ecaeaee astyle 2016-04-03 02:14:54 +03:00