This is my attempt to fix issue #16 with Logging trait