4 instantiations of ForwardingLoggerRecord
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (3)
3030
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(buildCheckLogger, forwardingLoggerDescription) };
3049
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(_telemetryConsumingLogger, forwardingLoggerDescription) };
3158
return new
ForwardingLoggerRecord
(new NullLogger(), forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1330
remoteLoggerRecords.Add(new
ForwardingLoggerRecord
(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
47 references to ForwardingLoggerRecord
Microsoft.Build (40)
BackEnd\BuildManager\BuildManager.cs (10)
42
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
2984
IEnumerable<
ForwardingLoggerRecord
>? forwardingLoggers,
3030
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) };
3049
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) };
3079
foreach (
ForwardingLoggerRecord
forwardingLoggerRecord in forwardingLoggers)
3095
static List<
ForwardingLoggerRecord
> ProcessForwardingLoggers(IEnumerable<
ForwardingLoggerRecord
>? forwarders)
3106
List<
ForwardingLoggerRecord
> result = forwarders.ToList();
3133
ForwardingLoggerRecord
? configurableLogger = result.FirstOrDefault(l =>
3147
ForwardingLoggerRecord
CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
142
private IEnumerable<
ForwardingLoggerRecord
> _forwardingLoggers;
290
_forwardingLoggers = other._forwardingLoggers != null ? new List<
ForwardingLoggerRecord
>(other._forwardingLoggers) : null;
460
public IEnumerable<
ForwardingLoggerRecord
> ForwardingLoggers
468
foreach (
ForwardingLoggerRecord
logger in value)
Definition\Project.cs (7)
30
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
1535
public bool Build(IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1580
public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1630
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1636
/// See <see cref="Build(string[], IEnumerable<ILogger>, IEnumerable<
ForwardingLoggerRecord
>)"/>.
1643
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext)
3349
public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext)
Definition\ProjectCollection.cs (8)
22
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
264
public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents)
283
public 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.
307
public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) :
329
public 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)
1363
public void RegisterForwardingLoggers(IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1369
foreach (
ForwardingLoggerRecord
remoteLoggerRecord in remoteLoggers)
Instance\ProjectInstance.cs (9)
31
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
2200
public bool Build(IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2233
public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2268
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2303
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs)
2769
internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs)
2805
parameters.ForwardingLoggers = remoteLoggers is ICollection<
ForwardingLoggerRecord
> records ?
2807
new List<
ForwardingLoggerRecord
>(remoteLoggers);
2824
internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
256
public abstract bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext);
Microsoft.Build.Engine.OM.UnitTests (3)
Instance\ProjectInstance_Tests.cs (2)
15
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
370
instance.Build("t", null, new
ForwardingLoggerRecord
[] { null });
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
183
public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext)
Microsoft.Build.Engine.UnitTests (1)
InstanceFromRemote\FakeProjectLink.cs (1)
85
public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext) => throw new NotImplementedException();
MSBuild (3)
XMake.cs (3)
42
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
1327
List<
ForwardingLoggerRecord
> remoteLoggerRecords = new List<
ForwardingLoggerRecord
>();