Method LogError LogError(String) Records a message that represents an error. Declaration void LogError(string message) Parameters Type Name Description System.String message The text to be logged.