private static void ExceptionHandler(string source, Exception exception, bool throwIt) { Logger.DebugWriteLine("{0} 引发的异常:{1}", source, exception); Logger.Current.OnException(source, exception, throwIt); }