Logger for DMSassignment4