3 instantiations of ForwardingLoggerRecord
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (2)
3004ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3126return new ForwardingLoggerRecord(new NullLogger(), forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1332remoteLoggerRecords.Add(new ForwardingLoggerRecord(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
44 references to ForwardingLoggerRecord
Microsoft.Build (38)
BackEnd\BuildManager\BuildManager.cs (10)
42using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2958IEnumerable<ForwardingLoggerRecord>? forwardingLoggers, 3004ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3023ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3047foreach (ForwardingLoggerRecord forwardingLoggerRecord in forwardingLoggers) 3063static List<ForwardingLoggerRecord> ProcessForwardingLoggers(IEnumerable<ForwardingLoggerRecord>? forwarders) 3074List<ForwardingLoggerRecord> result = forwarders.ToList(); 3101ForwardingLoggerRecord? configurableLogger = result.FirstOrDefault(l => 3115ForwardingLoggerRecord CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 140private IEnumerable<ForwardingLoggerRecord> _forwardingLoggers; 286_forwardingLoggers = other._forwardingLoggers != null ? new List<ForwardingLoggerRecord>(other._forwardingLoggers) : null; 446public IEnumerable<ForwardingLoggerRecord> ForwardingLoggers 454foreach (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; 2119public bool Build(IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2152public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2187public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2222public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2686internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2717parameters.ForwardingLoggers = remoteLoggers is ICollection<ForwardingLoggerRecord> records ? 2719new List<ForwardingLoggerRecord>(remoteLoggers); 2736internal 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)
41using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 1329List<ForwardingLoggerRecord> remoteLoggerRecords = new List<ForwardingLoggerRecord>();