将异常写入事件日志中一将异常写入应用程序的事件日志中源代码 "Write exceptions to the event log (1): Write exceptions to the application's event log" Source code