Gabi Melman
cef7eb0667
Update .travis.yml
...
Removed clang tests because travis removed support for clang apt
2016-06-18 15:31:45 +03:00
gabime
8d1570b84a
fixed tests cmake thread flag
2016-06-18 15:25:43 +03:00
Gabi Melman
43511559a8
Merge pull request #229 from godbyk/cmake-example-improvements
...
Use CMake Threads package instead of manually specifying -pthread.
2016-06-18 15:22:44 +03:00
gabime
ae5518188f
Merge branch 'godbyk-header-tests'
2016-06-18 15:05:01 +03:00
gabime
3a44818b2a
fixed pr #228 to include pthread and removed header_dependecies test
2016-06-18 15:04:08 +03:00
gabime
6402885164
Merge branch 'header-tests' of https://github.com/godbyk/spdlog into godbyk-header-tests
2016-06-18 14:00:44 +03:00
Gabi Melman
fafe88c3a8
Merge pull request #227 from godbyk/create-logger-single-sink
...
Create a logger with a single sink
2016-06-18 13:50:27 +03:00
Kevin M. Godby
1c31b42e1a
Use CMake Threads package instead of manually specifying -pthread.
2016-06-17 01:07:40 -05:00
Kevin M. Godby
cb3b7728a1
Fix missing include detected by new header dependency tests.
2016-06-17 00:55:24 -05:00
Kevin M. Godby
24e7b64b89
Added header-dependency tests.
2016-06-17 00:55:05 -05:00
Kevin M. Godby
e16cb511e5
Create a logger with a single sink.
2016-06-17 00:29:12 -05:00
Gabi Melman
33a185188c
Update README.md
2016-05-22 12:13:36 +03:00
Gabi Melman
83231a364d
Update README.md
2016-05-21 10:44:08 +03:00
Gabi Melman
5202a7806f
Merge pull request #210 from GreatFruitOmsk/master
...
Fix throwing exception if DYNAMIC_TIME_ZONE_INFORMATION fails
2016-05-16 10:13:14 +03:00
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