21 references to Log
Microsoft.Build.Tasks.Core (17)
Exec.cs (12)
146
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdOutEncoding", "Exec");
167
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdErrEncoding", "Exec");
314
Log
.LogMessageFromResources(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode);
323
Log
.LogErrorWithCodeFromResources("Exec.CommandFailedAccessDenied", commandForLog, ExitCode);
327
Log
.LogErrorWithCodeFromResources("Exec.CommandFailed", commandForLog, ExitCode);
370
Log
.LogError(singleLine);
374
Log
.LogWarning(singleLine);
380
Log
.LogMessage(messageImportance, singleLine, null);
385
Log
.LogMessageFromText(singleLine, messageImportance);
423
Log
.LogErrorWithCodeFromResources("Exec.InvalidRegex", regularExpression, ex.Message);
448
Log
.LogErrorWithCodeFromResources("Exec.MissingCommandError");
465
Log
.LogErrorWithCodeFromResources("Exec.AllDriveLettersMappedError", _workingDirectory);
LC.cs (2)
104
Log
.LogErrorWithCodeFromResources("TaskRequiresFrameworkFailure", nameof(LC));
136
string pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe,
Log
, true);
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
131
Log
.LogMessageFromText(message, StandardOutputImportanceToUse);
SGen.cs (1)
130
Log
.LogErrorWithCodeFromResources("SGen.TaskNotSupported", nameof(SGen));
ToolTaskExtension.cs (1)
54
protected override bool HasLoggedErrors =>
Log
.HasLoggedErrors || base.HasLoggedErrors;
Microsoft.Build.Tasks.UnitTests (4)
ToolTaskExtension_Tests.cs (4)
34
t.
Log
.LogErrorWithCodeFromResources("Csc.AssemblyAliasContainsIllegalCharacters", "PlanetSide", "Knights of the Old Republic");
35
t.
Log
.LogWarningWithCodeFromResources("Csc.InvalidParameter");
36
t.
Log
.LogMessageFromResources("Vbc.ParameterHasInvalidValue", "Rome Total War", "Need for Speed Underground");
64
t.
Log
.LogErrorFromResources("Beyond Good and Evil");