20 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
kjell@kjell-win7.hsd1.co.comcast.net.
ebc8ae22b7 VS2013: removed warnings 2014-02-26 07:00:08 +01:00
KjellKod
59269ec351 Removed vs2013 warning. Previously the exception was ignored. 2014-02-24 00:29:50 -07:00
KjellKod
ffb4d86c1e Improvement: Shutdownlogging is now called AUTOMATICALLY at LogWorker scope exit/destruction. If for some reason (mistake or unit testing) multiple LogWorkers are created then
only the one that is g2::initialized(...) can cause a shutDownLogging when it is destructed.
2014-02-02 23:49:24 -07:00
KjellKod
5486bbceca Dynamic logging levels can be enabled with a define. All levels are by default ON 2014-01-08 22:48:18 -07: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
Aleksey Dobrunov
c2ba2546bb fix unit tests 2013-12-14 02:58:36 +06: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
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
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
d254879890 Generic cleanup and bugfix after massive merge... still ongoing
--HG--
rename : g2log/test_unit/test_sink.cpp => g2log/test_unit/test_sink_concept.cpp
2013-08-18 23:18:18 -06:00
KjellKod
c015191b83 unit test refactoring. g2log, safe to do shutdownlogging multiple times 2013-07-13 19:33:00 -06:00
KjellKod
3fb37b0709 cmake refactoring , adding of unit tests 2013-07-13 17:56:38 -06:00
KjellKod
a4c49a5549 Merged in changes from development repository.
* threadsafe use of localtime
* changing/retrieving log filename at runtime (using futures)
2012-10-14 01:54:56 +02:00
KjellKod
6d5f1f46ca Cosmetics: Corrected headers so that they look uniform. Added clarification in Readme about unpacking of gtest/glog for unit-test and performance tests 2011-11-21 17:04:02 -06:00
KjellKod
4659afdeb5 Made sure the g2log performance tests + unit test are running on windows
(google performance test not tested yet on windows)
2011-11-17 22:46:38 +01:00
Kjell Hedstrom
62089aad92 Enabling OPTIONS, by default only the g2log-example ON
performance test + unit tests are OFF. Enabling them is fixed in the CMakeLists.txt
2011-11-17 11:26:02 +01:00