NAnt SDK Documentation - v0.92

Element.Log Method (Level, String, Object[])

Logs a message with the given priority.

[Visual Basic]
Overridable Overloads Public Sub Log( _
   ByVal messageLevel As Level, _
   ByVal message As String, _
   ParamArray args As Object() _
)
[C#]
public virtual void Log(
   Level messageLevel,
   string message,
   params object[] args
);

Parameters

messageLevel
The message priority at which the specified message is to be logged.
message
The message to log, containing zero or more format items.
args
An Object array containing zero or more objects to format.

Remarks

The actual logging is delegated to the project.

See Also

Element Class | NAnt.Core Namespace | Element.Log Overload List