예제 #1
0
        protected override void LogRaw(ILogMessage logMessage)
        {
            buildStep.Logger.Log(logMessage);

            mainLogger?.Log(logMessage);
            StepLogger?.Log(logMessage);
        }
예제 #2
0
 protected override void LogRaw(ILogMessage logMessage)
 {
     if (mainLogger != null)
     {
         mainLogger.Log(logMessage);
     }
     if (StepLogger != null)
     {
         lock (StepLogger)
         {
             StepLogger.Log(logMessage);
         }
     }
 }