4 instantiations of ForwardingLoggerRecord
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (3)
3030ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3049ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3158return new ForwardingLoggerRecord(new NullLogger(), forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1330remoteLoggerRecords.Add(new ForwardingLoggerRecord(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
47 references to ForwardingLoggerRecord
Microsoft.Build (40)
BackEnd\BuildManager\BuildManager.cs (10)
42using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2984IEnumerable<ForwardingLoggerRecord>? forwardingLoggers, 3030ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3049ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3079foreach (ForwardingLoggerRecord forwardingLoggerRecord in forwardingLoggers) 3095static List<ForwardingLoggerRecord> ProcessForwardingLoggers(IEnumerable<ForwardingLoggerRecord>? forwarders) 3106List<ForwardingLoggerRecord> result = forwarders.ToList(); 3133ForwardingLoggerRecord? configurableLogger = result.FirstOrDefault(l => 3147ForwardingLoggerRecord CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 142private IEnumerable<ForwardingLoggerRecord> _forwardingLoggers; 290_forwardingLoggers = other._forwardingLoggers != null ? new List<ForwardingLoggerRecord>(other._forwardingLoggers) : null; 460public IEnumerable<ForwardingLoggerRecord> ForwardingLoggers 468foreach (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) 3349public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext)
Definition\ProjectCollection.cs (8)
22using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 264public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) 283public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) 305/// This constructor disables target output logging, so TerminalLogger and other loggers may not work well. Prefer <see cref="ProjectCollection(IDictionary{string, string}, IEnumerable{ILogger}, IEnumerable{ForwardingLoggerRecord}, ToolsetDefinitionLocations, int, bool, bool, bool, bool, bool)"/> instead to control this behavior. 307public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) : 329public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache, bool enableTargetOutputLogging) 1363public void RegisterForwardingLoggers(IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1369foreach (ForwardingLoggerRecord remoteLoggerRecord in remoteLoggers)
Instance\ProjectInstance.cs (9)
31using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2200public bool Build(IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2233public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2268public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2303public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2769internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2805parameters.ForwardingLoggers = remoteLoggers is ICollection<ForwardingLoggerRecord> records ? 2807new List<ForwardingLoggerRecord>(remoteLoggers); 2824internal 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)
Microsoft.Build.Engine.UnitTests (1)
InstanceFromRemote\FakeProjectLink.cs (1)
85public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, EvaluationContext evaluationContext) => throw new NotImplementedException();
MSBuild (3)
XMake.cs (3)
42using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 1327List<ForwardingLoggerRecord> remoteLoggerRecords = new List<ForwardingLoggerRecord>();