Partager via


Exec.LogEventsFromTextOutput(String, MessageImportance) Method

Definition

Calls a method on the TaskLoggingHelper to parse a single line of text to see if there are any errors or warnings in canonical format.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 override void LogEventsFromTextOutput(System::String ^ singleLine, Microsoft::Build::Framework::MessageImportance messageImportance);
protected override void LogEventsFromTextOutput (string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance);
override this.LogEventsFromTextOutput : string * Microsoft.Build.Framework.MessageImportance -> unit
Protected Overrides Sub LogEventsFromTextOutput (singleLine As String, messageImportance As MessageImportance)

Parameters

singleLine
String

Single line from the output to parse.

messageImportance
MessageImportance

The importance to log the message with.

Remarks

Overridden to handle any custom regular expressions supplied.

Applies to