protected override void LogRaw(ILogMessage logMessage) { buildStep.Logger.Log(logMessage); mainLogger?.Log(logMessage); StepLogger?.Log(logMessage); }
protected override void LogRaw(ILogMessage logMessage) { if (mainLogger != null) { mainLogger.Log(logMessage); } if (StepLogger != null) { lock (StepLogger) { StepLogger.Log(logMessage); } } }