Ejemplo n.º 1
0
 /// <summary>
 /// Initializes the logger resolver.
 /// </summary>
 /// <param name="logger">
 /// The logger.
 /// </param>
 protected virtual void InitializeLoggerResolver(IMultiLogger logger)
 {
     if (!MultiLogResolver.HasCurrent)
     {
         MultiLogResolver.Current = new MultiLogResolver(logger);
     }
 }
 public TestExecutionOrchectrator(IMultiLogger multiLogger, IFileLogger fileLogger, ICommandLineArgsParser cmdArgsParser, ICleanupManager cleanupManager, IWildcardPathsParser wildcardPathsParser)
 {
     _logger = multiLogger;
     _fileLogger = fileLogger;
     fileLogger.IsActive = false;
     multiLogger.AddLogger(fileLogger);
     _cmdArgsParser = cmdArgsParser;
     _cleanupManager = cleanupManager;
     _wildcardPathsParser = wildcardPathsParser;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes the logger resolver.
 /// </summary>
 /// <param name="logger">
 /// The logger.
 /// </param>
 protected virtual void InitializeLoggerResolver(IMultiLogger logger)
 {
     if (!MultiLogResolver.HasCurrent)
     MultiLogResolver.Current = new MultiLogResolver(logger);
 }