Beispiel #1
0
 static MTSExceptionHandler()
 {
     SetLogWriter.Create();
     _exceptionPolicyFactory = new ExceptionPolicyFactory();
     _exceptionManager       = _exceptionPolicyFactory.CreateManager();
 }
Beispiel #2
0
        //private static readonly EntLogging.LogWriter logWriter;

        static Logger()
        {
            SetLogWriter.Create();
            //logWriter = new LogWriterFactory().Create();
            //Microsoft.Practices.EnterpriseLibrary.Logging.Logger.SetLogWriter(logWriter, false);
        }