public void Setup()
 {
     originalAdapter        = LogManager.Adapter;
     loggerFactoryAdapter   = new CaptureOutputLoggerFactoryAdapter();
     LogManager.Adapter     = loggerFactoryAdapter;
     exceptionHandlerAdvice = new ExceptionHandlerAdvice();
 }
コード例 #2
0
 public void Setup()
 {
     originalAdapter = LogManager.Adapter;
     loggerFactoryAdapter = new CaptureOutputLoggerFactoryAdapter();
     LogManager.Adapter = loggerFactoryAdapter;
     exceptionHandlerAdvice = new ExceptionHandlerAdvice();
 }
コード例 #3
0
 public CapturingTraceListener(CaptureOutputLoggerFactoryAdapter adapter)
 {
     this.adapter = adapter;
 }
コード例 #4
0
 public CapturingTraceListener(CaptureOutputLoggerFactoryAdapter adapter)
 {
     this.adapter = adapter;
 }