NAnt.Core.Element.Log C# (CSharp) Method

Log() public method

Logs a message with the given priority.
The actual logging is delegated to the project.
public Log ( Level messageLevel, string message ) : void
messageLevel Level The message priority at which the specified message is to be logged.
message string The message to be logged.
return void
        public virtual void Log(Level messageLevel, string message)
        {
            if (Project != null) {
                Project.Log(messageLevel, message);
            }
        }