5 instantiations of ForwardingLoggerRecord
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (3)
3133ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3151ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3259return new ForwardingLoggerRecord(new NullLogger(), forwardingLoggerDescription);
Logging\TerminalLogger\TerminalLogger.cs (1)
392return new ForwardingLoggerRecord(loggerToReturn, forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1344remoteLoggerRecords.Add(new ForwardingLoggerRecord(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
51 references to ForwardingLoggerRecord
Microsoft.Build (44)
BackEnd\BuildManager\BuildManager.cs (10)
42using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 3087IEnumerable<ForwardingLoggerRecord>? forwardingLoggers, 3133ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) }; 3151ForwardingLoggerRecord[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) }; 3180foreach (ForwardingLoggerRecord forwardingLoggerRecord in forwardingLoggers) 3196static List<ForwardingLoggerRecord> ProcessForwardingLoggers(IEnumerable<ForwardingLoggerRecord>? forwarders) 3207List<ForwardingLoggerRecord> result = forwarders.ToList(); 3234ForwardingLoggerRecord? configurableLogger = result.FirstOrDefault(l => 3248ForwardingLoggerRecord CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 138private IEnumerable<ForwardingLoggerRecord> _forwardingLoggers; 291_forwardingLoggers = other._forwardingLoggers != null ? new List<ForwardingLoggerRecord>(other._forwardingLoggers) : null; 461public IEnumerable<ForwardingLoggerRecord> ForwardingLoggers 469foreach (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)
23using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 265public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) 284public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) 306/// 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. 308public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) : 330public 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) 1364public void RegisterForwardingLoggers(IEnumerable<ForwardingLoggerRecord> remoteLoggers) 1370foreach (ForwardingLoggerRecord remoteLoggerRecord in remoteLoggers)
Instance\ProjectInstance.cs (9)
32using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 2211public bool Build(IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2244public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2279public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers) 2314public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2780internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2816parameters.ForwardingLoggers = remoteLoggers is ICollection<ForwardingLoggerRecord> records ? 2818new List<ForwardingLoggerRecord>(remoteLoggers); 2835internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs)
Logging\TerminalLogger\TerminalLogger.cs (4)
275public static (ILogger, ForwardingLoggerRecord?) CreateTerminalOrConsoleLoggerWithForwarding(string[]? args = null) 282internal static (ILogger, ForwardingLoggerRecord?) CreateTerminalOrConsoleLoggerWithForwarding(string[]? args, bool supportsAnsi, bool outputIsScreen, uint? originalConsoleMode) 292ForwardingLoggerRecord? forwardingLogger; 388static ForwardingLoggerRecord TerminalLoggerForwardingRecord(ILogger loggerToReturn, string? tlpArg, LoggerVerbosity verbosity)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
254public 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)
43using ForwardingLoggerRecord = Microsoft.Build.Logging.ForwardingLoggerRecord; 1341List<ForwardingLoggerRecord> remoteLoggerRecords = new List<ForwardingLoggerRecord>();