NAnt SDK Documentation - v0.92 |

# ReferenceBase.Log Method (Level, String)

Logs a message with the given priority.

[Visual Basic]
Overloads Protected Sub Log( _
ByVal messageLevel As Level, _
ByVal message As String _
)
[C#]
protected void Log(
Level messageLevel,
string message
);

#### Parameters

messageLevel
  The message priority at which the specified message is to be logged.
message
  The message to be logged.

#### Remarks

The actual logging is delegated to the underlying task.

#### See Also

ReferenceBase Class | NAnt.VSNet Namespace | ReferenceBase.Log Overload List