Commit Graph

16 Commits

Author SHA1 Message Date
KjellKod
7fbdd34246 Added license and license referral to avoid any license confusion. G3log is a public domain dedication. Ref the unlicense.org 2014-07-03 15:42:19 -06:00
KjellKod
c00981fad0 Bugfixes and improvments. Thanks to Csaba with team.
Bugfixes:   Initialization/Destruction order was wrong. This would cause a shutdown race condition.
Improvements:  Skipped pimpl (no hiding necessary), pointer comparison in g2log.cpp,  clarified shutdown safety with comment in ~LogWorker
Unit tests:  Added agressive shutdown test in test_sinks.cpp
2014-04-28 23:46:42 -06:00
KjellKod
fe4862a96b Cleanup, added headers where they were missing. Removed default option ON for unit test. 2013-12-15 22:29:26 -07:00
KjellKod
f8c729ce1e dynamic logging levels are now possible. Use "#define G2_DYNAMIC_LOGGING" to get it. A slight performance penalty will result
but logging levels can then be turn on/off dynamically
2013-12-10 14:57:04 -07:00
KjellKod
61af55e335 (after 1 day of lost work)... recreating-work in progress. some unit test are still failing. Using unique_ptr for spee 2013-11-12 02:21:40 -07:00
KjellKod
05dd7c9018 Performance testing. Left to tweak performance to get close to g2log original speed 2013-11-08 02:31:32 -07:00
KjellKod
ac2915da1f All unit tests are working after cleanup 2013-11-08 01:45:10 -07:00
KjellKod
ad322fd460 Updated. LOG(...) calls to uninizialized logger does not make it crash 2013-11-07 01:56:48 -07:00
KjellKod
225c16313d All compile errors fixed. After refactoring/remodelling. Left is touching up the unit tests 2013-11-03 21:46:19 -07:00
KjellKod
a59c837fd2 Dynamic sinks... all unit test working (although they should be consolidated). name-file manual merge from g2log-dev 2013-10-04 22:14:35 -06:00
KjellKod
e237f5a8fa narrowing down the errors§ 2013-08-30 00:01:07 -06:00
KjellKod
60af9ac1ca Added crashing unit test for next time debugging
--HG--
rename : g2log/test_unit/test_sink_concept.cpp => g2log/test_unit/test_concept_sink.cpp
2013-08-20 23:40:39 -06:00
KjellKod
bb778adf25 Cleanup 2013-08-18 23:17:04 -06:00
KjellKod
6c3f58086d adding first failing test to test_sink 2013-07-13 22:59:02 -06:00
KjellKod
c015191b83 unit test refactoring. g2log, safe to do shutdownlogging multiple times 2013-07-13 19:33:00 -06:00
KjellKod
3e2f092924 adding unit test + make_unique 2013-07-13 17:57:26 -06:00