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