When I do something illegal in XAML, e.g. binding to a non-existing source all exceptions are silently handled and logged to the output console. I like to have these in a log file, in case this happens when this occurs when my application runs at the customer.
How can I do this?