Implemented logging system and a formatter