21 references to Log
Microsoft.Build.Tasks.Core (17)
Exec.cs (12)
149
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdOutEncoding", "Exec");
170
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdErrEncoding", "Exec");
317
Log
.LogMessageFromResources(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode);
326
Log
.LogErrorWithCodeFromResources("Exec.CommandFailedAccessDenied", commandForLog, ExitCode);
330
Log
.LogErrorWithCodeFromResources("Exec.CommandFailed", commandForLog, ExitCode);
373
Log
.LogError(singleLine);
377
Log
.LogWarning(singleLine);
383
Log
.LogMessage(messageImportance, singleLine, null);
388
Log
.LogMessageFromText(singleLine, messageImportance);
426
Log
.LogErrorWithCodeFromResources("Exec.InvalidRegex", regularExpression, ex.Message);
451
Log
.LogErrorWithCodeFromResources("Exec.MissingCommandError");
468
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");