10 instantiations of BinaryLogger
dotnet (3)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
440
var logger = new
BinaryLogger
LoggerUtility.cs (2)
33
binaryLoggers.Add(new
BinaryLogger
{ Parameters = filename });
39
binaryLoggers.Add(new
BinaryLogger
{ Parameters = filename });
dotnet-format (1)
Workspaces\MSBuildWorkspaceLoader.cs (1)
42
binlog = new Build.Logging.
BinaryLogger
()
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
735
var logger = new
BinaryLogger
{ Parameters = binlogPath };
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
AbstractBuildHost.cs (1)
92
logger = new
BinaryLogger
{ Parameters = _binaryLogPath };
Microsoft.DotNet.HotReload.Watch (1)
Build\BuildReporter.cs (1)
41
?
new
()
MSBuild (2)
XMake.cs (2)
3542
BinaryLogger logger =
new
() { Parameters = processedParams.DistinctParameterSets[0], AdditionalFilePaths = processedParams.AdditionalFilePaths };
3550
BinaryLogger logger = new
BinaryLogger
{ Parameters = paramSet };
NuGet.Build.Tasks.Console (1)
MSBuildStaticGraphRestore.cs (1)
1247
loggers.Add(new
BinaryLogger
33 references to BinaryLogger
dotnet (7)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
440
var
logger = new BinaryLogger
LoggerUtility.cs (6)
13
List<
BinaryLogger
> binaryLoggers = [];
58
public static FacadeLogger CreateFacadeLogger(List<
BinaryLogger
> binaryLoggers)
143
private readonly List<
BinaryLogger
> innerLoggers;
145
public PersistentDispatcher(List<
BinaryLogger
> innerLoggers)
148
foreach (
var
logger in innerLoggers)
162
foreach (
var
innerLogger in innerLoggers)
dotnet-watch (1)
CommandLine\CommandLineOptions.cs (1)
185
return value != null ?
BinaryLogger
.ParseParameters(value).LogFilePath ?? "msbuild.binlog" : null;
Microsoft.Build (18)
BackEnd\BuildManager\BuildManager.cs (1)
735
var
logger = new BinaryLogger { Parameters = binlogPath };
Logging\BinaryLogger\BinaryLogger.cs (2)
30
public
BinaryLogger
.ProjectImportsCollectionMode ProjectImportsCollectionMode { get; internal set; } =
BinaryLogger
.ProjectImportsCollectionMode.Embed;
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (8)
170
int minimumReaderVersion = fileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion
176
if (fileFormatVersion >
BinaryLogger
.FileFormatVersion &&
177
(!allowForwardCompatibility || minimumReaderVersion >
BinaryLogger
.FileFormatVersion))
179
var text = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnsupportedLogFileFormat", fileFormatVersion, minimumReaderVersion,
BinaryLogger
.FileFormatVersion);
240
_formatVersionMismatchWarning = reader.FileFormatVersion >
BinaryLogger
.FileFormatVersion
241
? ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BinlogFormatVersionMismatch", reader.FileFormatVersion,
BinaryLogger
.FileFormatVersion)
243
bool supportsForwardCompatibility = reader.FileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion;
270
&& reader.FileFormatVersion >
BinaryLogger
.FileFormatVersion;
Logging\BinaryLogger\BuildEventArgsReader.cs (6)
120
if (_fileFormatVersion <
BinaryLogger
.ForwardCompatibilityMinimalVersion)
147
internal int MinimumReaderVersion { get; set; } =
BinaryLogger
.ForwardCompatibilityMinimalVersion;
226
if (_fileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion)
465
if (_fileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion)
697
if (_fileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion ||
753
if (_fileFormatVersion >=
BinaryLogger
.ForwardCompatibilityMinimalVersion ||
Logging\IFileOutputLogger.cs (1)
9
/// (for example <see cref="FileLogger"/> and <see cref="
BinaryLogger
"/>).
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
AbstractBuildHost.cs (1)
88
BinaryLogger
? logger = null;
Microsoft.DotNet.HotReload.Watch (1)
Build\BuildReporter.cs (1)
40
private readonly
BinaryLogger
? _binaryLogger = binLogPath != null
MSBuild (5)
XMake.cs (5)
40
using BinaryLogger = Microsoft.Build.Logging.
BinaryLogger
;
2326
var isLoggerThatRequiresTaskInputsConfigured = loggers.Any(l => l is TerminalLogger || l is
BinaryLogger
);
3526
var processedParams =
BinaryLogger
.ProcessParameters(binaryLoggerParameters);
3542
BinaryLogger
logger = new() { Parameters = processedParams.DistinctParameterSets[0], AdditionalFilePaths = processedParams.AdditionalFilePaths };
3550
BinaryLogger
logger = new BinaryLogger { Parameters = paramSet };