Commit Graph

628 Commits

Author SHA1 Message Date
KjellKod
11235acbc9 Removing g2logmessage pimpl 2013-11-11 23:07:34 -07:00
KjellKod
43806018aa TODO: Remove all usage of shared_ptr,. passing with moved unique_ptr and by value will have a huge performance boost 2013-11-08 02:47:43 -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
99ea2e3f19 Updated unit test to deal with LogMessage. Using just string as default would trigger LogMessage::toString() 2013-11-04 22:15:44 -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
a69286399d compile error: namespace usage or lack thereof 2013-11-02 21:04:44 -06:00
KjellKod
81b6b91038 fixing compile errors after large conceptual remake 2013-11-02 10:01:18 -06:00
KjellKod
4adbd1c065 compile error fixes after major g2log-dev influence-refactoring 2013-10-31 03:28:08 -06: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
ad998db248 Renameing. Reformatting crashhandler for c++11 2013-09-25 21:59:28 -06:00
KjellKod
e0355e766a active using lambda instead of std::function for exit. Cleanup of includes. Renamed to hpp
--HG--
rename : g2log/src/active.h => g2log/src/active.hpp
2013-09-25 21:39:11 -06:00
KjellKod
49aefe06f5 Universal copy constructor 2013-09-15 14:24:12 -06:00
KjellKod
e2af025563 All unit tests are passing. Seg fault was in unit test, not in code
Next: Cleanup namespace and creation
Next Next: Cleanup/Refactor message sending
2013-09-01 00:44:30 -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
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
17cf2ee910 Added simple test for sinks 2013-08-18 23:17:46 -06:00
KjellKod
bb778adf25 Cleanup 2013-08-18 23:17:04 -06:00
KjellKod
f4c939dc8a Corrected lambda bug. Capture this. 2013-08-18 23:15:56 -06:00
KjellKod
b490624ea0 Removed race condition with destruction and cleaning up sinks.
Using string instead of stream
2013-08-18 23:15:09 -06:00
KjellKod
8a36ef87ea Speedup. using string instead of stream 2013-08-18 23:13:18 -06:00
KjellKod
1aaa79fb3f compile errors fixed. multiple start/stop of logger fails 2013-08-01 23:06:12 -06:00
KjellKod
ab07e5978d Corrected the merging compile errors...
--HG--
rename : g2log/src/crashhandler.h => g2log/src/crashhandler.hpp
rename : g2log/src/g2logmessage.h => g2log/src/g2logmessage.hpp
rename : g2log/src/g2time.h => g2log/src/g2time.hpp
2013-07-29 22:43:33 -06:00
KjellKod
05018e389a commented out some unit test. corrected other's. rigth now I am pondering to
always keeping the file-handle known in the bglogger.
--- Alternatively there is no zink at startup except colored out maybe?
2013-07-23 22:01:12 -06:00
KjellKod
3c67023389 Internal for sinks added. Simple unit test added 2013-07-21 14:04:48 -06:00
KjellKod
301f2df05b made it compile by commenting away. let if fail! 2013-07-13 23:06:30 -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
KjellKod
3fb37b0709 cmake refactoring , adding of unit tests 2013-07-13 17:56:38 -06:00
KjellKod
062b92188c refactored cmake 2013-07-13 10:21:00 -06:00
KjellKod
12dfc91458 Bugfix: Thanks to Alexander Ignatyev. Now handles illegal, empty directory names.
Bugfix: If directory path cannot be resolved it will as a last resort write the log to the current directory
2013-07-11 23:22:40 -06:00
kjellkod@kjellkod-Asus
68d1c12858 Thanks to Wilfred van Velzen for adding fix for mingw / windows 2013-06-05 12:19:52 -04:00
kjellkod@kjellkod-Asus
84d625c8cc Correction. SanityFix for illegally written path
thanks to 'Tim L' at CodeProject/g2log
2013-05-09 11:32:25 -04:00
KjellKod
1011af308a prefixsanityfix... better handling of illegal character and their removal from file name 2012-11-19 21:10:55 +01:00
KjellKod
4a481acc6e updated after merge (no changes) 2012-10-21 18:42:18 +02:00
KjellKod
75ecece72f no longer default: g2log unit test 2012-10-21 18:38:05 +02:00
KjellKod
8f808f04ec README first-user improved 2012-10-18 16:10:26 +02:00
KjellKod
eb6e7faef5 spell check REAME 2012-10-18 16:10:17 +02:00
KjellKod
8d9e4984e9 README first-user improved 2012-10-18 16:06:58 +02:00
KjellKod
60a1244850 spell check REAME 2012-10-18 16:05:34 +02:00
KjellKod
03174baddb spell check REAME 2012-10-18 15:58:11 +02:00
KjellKod
8e72da9740 spell check REAME 2012-10-18 15:52:08 +02:00
KjellKod
d57080dbd6 readme updated 2012-10-18 07:45:34 +02:00
KjellKod
b5fc2dcd1a readme finished 2012-10-18 07:44:53 +02:00
KjellKod
1d75316cf8 readme test wiki formatting 2012-10-18 07:42:11 +02:00
KjellKod
06688ea16b readme line-wrap (naive) 2012-10-18 07:40:49 +02:00
KjellKod
1c2ec0788a readme line-wrap (naive) 2012-10-18 07:39:21 +02:00