5 instantiations of ForwardingLoggerRecord
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (3)
3210
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(buildCheckLogger, forwardingLoggerDescription) };
3228
ForwardingLoggerRecord[] forwardingLogger = { new
ForwardingLoggerRecord
(_telemetryConsumingLogger, forwardingLoggerDescription) };
3336
return new
ForwardingLoggerRecord
(new NullLogger(), forwardingLoggerDescription);
Logging\TerminalLogger\TerminalLogger.cs (1)
398
return new
ForwardingLoggerRecord
(loggerToReturn, forwardingLoggerDescription);
MSBuild (1)
XMake.cs (1)
1349
remoteLoggerRecords.Add(new
ForwardingLoggerRecord
(distRecord.CentralLogger, distRecord.ForwardingLoggerDescription));
47 references to ForwardingLoggerRecord
Microsoft.Build (44)
BackEnd\BuildManager\BuildManager.cs (10)
42
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
3164
IEnumerable<
ForwardingLoggerRecord
>? forwardingLoggers,
3210
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(buildCheckLogger, forwardingLoggerDescription) };
3228
ForwardingLoggerRecord
[] forwardingLogger = { new ForwardingLoggerRecord(_telemetryConsumingLogger, forwardingLoggerDescription) };
3257
foreach (
ForwardingLoggerRecord
forwardingLoggerRecord in forwardingLoggers)
3273
static List<
ForwardingLoggerRecord
> ProcessForwardingLoggers(IEnumerable<
ForwardingLoggerRecord
>? forwarders)
3284
List<
ForwardingLoggerRecord
> result = forwarders.ToList();
3311
ForwardingLoggerRecord
? configurableLogger = result.FirstOrDefault(l =>
3325
ForwardingLoggerRecord
CreateMinimalForwarder()
BackEnd\BuildManager\BuildParameters.cs (5)
19
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
144
private IEnumerable<
ForwardingLoggerRecord
> _forwardingLoggers;
297
_forwardingLoggers = other._forwardingLoggers != null ? new List<
ForwardingLoggerRecord
>(other._forwardingLoggers) : null;
468
public IEnumerable<
ForwardingLoggerRecord
> ForwardingLoggers
476
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)
3338
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
;
2212
public bool Build(IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2245
public bool Build(string target, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2280
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers)
2315
public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs)
2781
internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs)
2817
parameters.ForwardingLoggers = remoteLoggers is ICollection<
ForwardingLoggerRecord
> records ?
2819
new List<
ForwardingLoggerRecord
>(remoteLoggers);
2836
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)
254
public abstract bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<
ForwardingLoggerRecord
> remoteLoggers, EvaluationContext evaluationContext);
MSBuild (3)
XMake.cs (3)
43
using ForwardingLoggerRecord = Microsoft.Build.Logging.
ForwardingLoggerRecord
;
1346
List<
ForwardingLoggerRecord
> remoteLoggerRecords = new List<
ForwardingLoggerRecord
>();