4 instantiations of ForwardingLoggerRecord
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (3)
3022ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3041ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3144return new ForwardingLoggerRecord(new NullLogger(), forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1342remoteLoggerRecords.Add(new ForwardingLoggerRecord(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
44 references to ForwardingLoggerRecord
Microsoft.Build (38)
BackEnd\BuildManager\BuildManager.cs (10)
41using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2976IEnumerable<ForwardingLoggerRecord>? forwardingLoggers, 3022ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3041ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3065foreach (ForwardingLoggerRecord forwardingLoggerRecord in forwardingLoggers) 3081static List<ForwardingLoggerRecord> ProcessForwardingLoggers(IEnumerable<ForwardingLoggerRecord>? forwarders) 3092List<ForwardingLoggerRecord> result = forwarders.ToList(); 3119ForwardingLoggerRecord? configurableLogger = result.FirstOrDefault(l => 3133ForwardingLoggerRecord CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 142private IEnumerable<ForwardingLoggerRecord> _forwardingLoggers; 287_forwardingLoggers = other._forwardingLoggers != null ? new List<ForwardingLoggerRecord>(other._forwardingLoggers) : null; 455public IEnumerable<ForwardingLoggerRecord> ForwardingLoggers 463foreach (ForwardingLoggerRecord logger in value)
Definition\Project.cs (7)
30using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 1535public bool Build(IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1580public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1630public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1636/// See <see cref="Build(string[], IEnumerable&lt;ILogger&gt;, IEnumerable&lt;ForwardingLoggerRecord&gt;)"/>. 1643public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext) 3335public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext)
Definition\ProjectCollection.cs (6)
22using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 262public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) 281public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) 303public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) 1307public void RegisterForwardingLoggers(IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1313foreach (ForwardingLoggerRecord remoteLoggerRecord in remoteLoggers)
Instance\ProjectInstance.cs (9)
30using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2199public bool Build(IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2232public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2267public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2302public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2768internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2799parameters.ForwardingLoggers = remoteLoggers is ICollection<ForwardingLoggerRecord> records ? 2801new List<ForwardingLoggerRecord>(remoteLoggers); 2818internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
256public abstract bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext);
Microsoft.Build.Engine.OM.UnitTests (3)
Instance\ProjectInstance_Tests.cs (2)
15using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 370instance.Build("t", null, new ForwardingLoggerRecord[] { null });
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
183public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext)
MSBuild (3)
XMake.cs (3)
42using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 1339List<ForwardingLoggerRecord> remoteLoggerRecords = new List<ForwardingLoggerRecord>();