1 write to s_traceFilePath
dotnet (1)
Commands\Test\VSTest\VSTestTrace.cs (1)
16
s_traceFilePath
= Environment.GetEnvironmentVariable("DOTNET_CLI_VSTEST_TRACEFILE");
5 references to s_traceFilePath
dotnet (5)
Commands\Test\VSTest\VSTestTrace.cs (5)
19
Console.WriteLine($"[dotnet test - {DateTime.UtcNow}]Logging to {(!string.IsNullOrEmpty(
s_traceFilePath
) ?
s_traceFilePath
: "console")}");
33
if (!string.IsNullOrEmpty(
s_traceFilePath
))
35
lock (
s_traceFilePath
)
37
using StreamWriter logFile = File.AppendText(
s_traceFilePath
);