Add logging functions.
Add logging tests.
Add darkobject base class.
Add darkobject tests.