5 instantiations of ForwardingLoggerRecord
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (3)
3316
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(buildCheckLogger, forwardingLoggerDescription) };
3334
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(_telemetryConsumingLogger, forwardingLoggerDescription) };
3442
return new
ForwardingLoggerRecord
(new NullLogger(), forwardingLoggerDescription);
Logging\TerminalLogger\TerminalLogger.cs (1)
398
return new
ForwardingLoggerRecord
(loggerToReturn, forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1623
remoteLoggerRecords.Add(new
ForwardingLoggerRecord
(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
48 references to ForwardingLoggerRecord
Microsoft.Build (45)
BackEnd\BuildManager\BuildManager.cs (10)
43
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
3270
IEnumerable<
ForwardingLoggerRecord
>? forwardingLoggers,
3316
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) };
3334
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) };
3363
foreach (
ForwardingLoggerRecord
forwardingLoggerRecord in forwardingLoggers)
3379
static List<
ForwardingLoggerRecord
> ProcessForwardingLoggers(IEnumerable<
ForwardingLoggerRecord
>? forwarders)
3390
List<
ForwardingLoggerRecord
> result = forwarders.ToList();
3417
ForwardingLoggerRecord
? configurableLogger = result.FirstOrDefault(l =>
3431
ForwardingLoggerRecord
CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
138
private IEnumerable<
ForwardingLoggerRecord
> _forwardingLoggers;
298
_forwardingLoggers = other._forwardingLoggers != null ? new List<
ForwardingLoggerRecord
>(other._forwardingLoggers) : null;
485
public IEnumerable<
ForwardingLoggerRecord
> ForwardingLoggers
493
foreach (
ForwardingLoggerRecord
logger in value)
Definition\Project.cs (7)
28
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
1545
public bool Build(IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1593
public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1646
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1652
/// See <see cref="Build(string[], IEnumerable<ILogger>, IEnumerable<
ForwardingLoggerRecord
>)"/>.
1660
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext)
3210
public override bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext)
Definition\ProjectCollection.cs (9)
24
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
272
public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents)
292
public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly)
314
/// 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.
317
public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) :
340
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)
359
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, string parseConfigDirectory)
1458
public void RegisterForwardingLoggers(IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
1464
foreach (
ForwardingLoggerRecord
remoteLoggerRecord in remoteLoggers)
Instance\ProjectInstance.cs (9)
32
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
2268
public bool Build(IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2303
public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2340
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2377
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs)
2846
internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs)
2882
parameters.ForwardingLoggers = remoteLoggers is ICollection<
ForwardingLoggerRecord
> records ?
2884
new List<
ForwardingLoggerRecord
>(remoteLoggers);
2902
internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs)
Logging\TerminalLogger\TerminalLogger.cs (4)
281
public static (ILogger,
ForwardingLoggerRecord
?) CreateTerminalOrConsoleLoggerWithForwarding(string[]? args = null)
288
internal static (ILogger,
ForwardingLoggerRecord
?) CreateTerminalOrConsoleLoggerWithForwarding(string[]? args, bool supportsAnsi, bool outputIsScreen, uint? originalConsoleMode)
298
ForwardingLoggerRecord
? forwardingLogger;
394
static
ForwardingLoggerRecord
TerminalLoggerForwardingRecord(ILogger loggerToReturn, string? tlpArg, LoggerVerbosity verbosity)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
256
public abstract bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext);
MSBuild (3)
XMake.cs (3)
44
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
1620
List<
ForwardingLoggerRecord
> remoteLoggerRecords = new List<
ForwardingLoggerRecord
>();