Add close_logger method for #428
Call ingredient close_logger method after each run_a_method for #428
Call ingredient close_logger method after each write_directory call for #428