public void SingleThread_SimpleLogFile_Test() { SingleThreadTestsCaseRunner.ReportStartedTest(ThreadingType.SingleThreaded, LogFileType.SimpleFile); #region Log4net Log4NetLogger.ConfigureSimpleFileLogger(ThreadingType.SingleThreaded); SingleThreadTestsCaseRunner.Run( LoggingLib.Log4Net, LogFileType.SimpleFile, (runNr, logNr) => Log4NetLog.Info($"Run #{runNr} - Log #{logNr}")); Log4NetLogger.DisableLogger(); #endregion SleepBeforeNextTestCaseRun(); #region NLog NLogLogger.ConfigureSimpleFileLogger(ThreadingType.SingleThreaded); SingleThreadTestsCaseRunner.Run( LoggingLib.NLog, LogFileType.SimpleFile, (runNr, logNr) => NLogLog.Info($"Run #{runNr} - Log #{logNr}")); #endregion SleepBeforeNextTestCaseRun(); #region Serilog Serilog.Core.Logger serilogLogger = SerilogLogger.ConfigureSimpleFileLogger(ThreadingType.SingleThreaded); SingleThreadTestsCaseRunner.Run( LoggingLib.Serilog, LogFileType.SimpleFile, (runNr, logNr) => serilogLogger.Information($"Run #{runNr} - Log #{logNr}")); #endregion SingleThreadTestsCaseRunner.ReportTestResults(ThreadingType.SingleThreaded, LogFileType.SimpleFile); }