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