I am using RestAssured and TestNG to test our api. I am able to log the request and response to an external file. But I also want to log the assertion error to the file. How