4 writes to LogAllEnvironmentVariables
Microsoft.Build (2)
Logging\BaseConsoleLogger.cs (2)
884
Traits.
LogAllEnvironmentVariables
= !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("MSBUILDLOGALLENVIRONMENTVARIABLES"));
994
Traits.
LogAllEnvironmentVariables
= true;
Microsoft.Build.Engine.UnitTests (2)
BuildEventArgsSerialization_Tests.cs (2)
59
Traits.
LogAllEnvironmentVariables
= serializeAllEnvironmentVariables;
82
Traits.
LogAllEnvironmentVariables
= false;
10 references to LogAllEnvironmentVariables
Microsoft.Build (9)
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
212
else if (Traits.
LogAllEnvironmentVariables
)
Definition\ProjectProperty.cs (2)
106
if (this is EnvironmentDerivedProjectProperty environmentProperty && environmentProperty.loggingContext is { IsValid: true } loggingContext && !environmentProperty._loggedEnvProperty && !Traits.
LogAllEnvironmentVariables
)
125
if (this is EnvironmentDerivedProjectProperty environmentProperty && environmentProperty.loggingContext is { IsValid: true } loggingContext && !environmentProperty._loggedEnvProperty && !Traits.
LogAllEnvironmentVariables
)
Evaluation\Evaluator.cs (1)
349
properties = Traits.
LogAllEnvironmentVariables
? evaluator._data.Properties : evaluator.FilterOutEnvironmentDerivedProperties(evaluator._data.Properties);
Instance\ProjectPropertyInstance.cs (2)
102
if (this is EnvironmentDerivedProjectPropertyInstance envProperty && envProperty.loggingContext?.IsValid == true && !envProperty._loggedEnvProperty && !Traits.
LogAllEnvironmentVariables
)
116
if (this is EnvironmentDerivedProjectPropertyInstance envProperty && envProperty.loggingContext?.IsValid == true && !envProperty._loggedEnvProperty && !Traits.
LogAllEnvironmentVariables
)
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
292
if (Traits.
LogAllEnvironmentVariables
)
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
234
if (Traits.
LogAllEnvironmentVariables
)
Logging\SerialConsoleLogger.cs (1)
107
if (Traits.
LogAllEnvironmentVariables
)
Microsoft.Build.Utilities.Core (1)
MuxLogger.cs (1)
865
Traits.
LogAllEnvironmentVariables
? _buildStartedEvent.BuildEnvironment : _buildStartedEvent.BuildEnvironment?.Where(kvp => EnvironmentUtilities.IsWellKnownEnvironmentDerivedProperty(kvp.Key)).ToDictionary(kvp => kvp.Key, kvp => kvp.Value));