title: Logging exception without changing existing code
body: <p>I have a application, and I want to log exceptions to a file and I don't want to change any code.  I just want a component to which I can add my code and it will start logging exceptions.  How can I do this?</p>