Logger added to outside of class