src/System.Management.Automation/utils/tracing/PSEtwLogProvider.cs
/// <summary>
/// Provider interface function for logging pipeline execution detail.
/// </summary>
/// <param name="logContext"></param>
/// <param name="pipelineExecutionDetail"></param>
Provider interface function for logging pipeline execution detail.
Provider interface function for logging pipeline execution detail .
internal override void LogPipelineExecutionDetailEvent(LogContext logContext, List<String> pipelineExecutionDetail)
        {
            StringBuilder payload = new StringBuilder();
            if (pipelineExecutionDetail != null)
            {
                foreach (String detail in pipelineExecutionDetail)
                {
                    payload.AppendLine(detail);
                }
            }
            WriteEvent(PSEventId.Pipeline_Detail, PSChannel.Operational, PSOpcode.Method, PSTask.ExecutePipeline, logContext, payload.ToString());
        }
internal override void LogPipelineExecutionDetailEvent ( LogContext logContext , List < String > pipelineExecutionDetail ) { StringBuilder payload = new StringBuilder ( ) ; if ( pipelineExecutionDetail != null ) { foreach ( String detail in pipelineExecutionDetail ) { payload . AppendLine ( detail ) ; } } WriteEvent ( PSEventId . Pipeline_Detail , PSChannel . Operational , PSOpcode . Method , PSTask . ExecutePipeline , logContext , payload . ToString ( ) ) ; }
Provider interface function for logging pipeline execution detail.
Provider interface function for logging pipeline execution detail .
logContext
LogContext
None
pipelineExecutionDetail
List<String>
None