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