Add and test fann_set_error_log