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