internal void RegisterBuildStep(BuildStep buildStep, TimestampLocalLogger logger)
 {
     lock (buildStepInfosToSend)
     {
         buildStepInfosToSend.Add(new BuildStepInfo(buildStep, buildStep.ExecutionId, buildStep.Description, logger));
     }
 }
 public BuildStepInfo(BuildStep buildStep, long executionId, string description, TimestampLocalLogger logger)
 {
     BuildStep   = buildStep;
     ExecutionId = executionId;
     Description = description;
     Logger      = logger;
     HasBeenSend = false;
 }
Exemplo n.º 3
0
 public BuildStepLogger(ILogger mainLogger, DateTime startTime)
 {
     this.mainLogger = mainLogger;
     StepLogger      = new TimestampLocalLogger(startTime);
     // Let's receive all level messages, each logger will filter them itself
     ActivateLog(LogMessageType.Debug);
     // StepLogger messages will be forwarded to the monitor, which will also filter itself
     StepLogger.ActivateLog(LogMessageType.Debug);
 }