Implemented logging capabilities