How do I print the Error List from the compiler or send it to a file after a compile?