davidp_1
9 years agoOccasional Contributor
Custom Logging of assert statements from Groovy script
I'd like to use the "assert" statement in Groovy and would like to put that nice output into a separate file. Right now I see that it goes into the error file (ready-api-errors.log), but I'd like the assertions to go into their own file. I know I can set up a custom logger, and specify that in a script for other types of log statements that I write myself. However, I want the output of the groovy assert statement to go into that custom log file. I'm sure I'm missing something really simply here...
Thanks!