コード例 #1
0
 public void LoggingTestSetup()
 {
     InitLogging();
     ExceptionVerification.Reset();
     TestLogger.Info("--- Start: {0} ---", TestContext.CurrentContext.Test.FullName);
 }
コード例 #2
0
ファイル: LoggingTest.cs プロジェクト: mike-tesch/Sonarr
 private static void RegisterExceptionVerification()
 {
     var exceptionVerification = new ExceptionVerification();
     LogManager.Configuration.AddTarget("ExceptionVerification", exceptionVerification);
     LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Warn, exceptionVerification));
 }
コード例 #3
0
ファイル: LoggingTest.cs プロジェクト: peterlandry/NzbDrone
 public void LoggingTestSetup()
 {
     InitLogging();
     ExceptionVerification.Reset();
 }
コード例 #4
0
 public void LoggingDownBase()
 {
     ExceptionVerification.AssertNoUnexcpectedLogs();
 }