API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcAuditInfo Class > OdPrcAuditInfo Methods > OdPrcAuditInfo::printError Method
OdPrcAuditInfo::printError Method
Syntax
C++
virtual void printError(const OdString& name, const OdString& value, const OdString& validation = OdString::kEmpty, const OdString& defaultValue = OdString::kEmpty);
Parameters 
Description 
const OdString& name 
[in] A type of erroneous data that is found.  
const OdString& value 
[in] A value of the erroneous data.  
const OdString& validation = OdString::kEmpty 
[in] A reason why the data was erroneous.  
const OdString& defaultValue = OdString::kEmpty 
[in] A default value to which the data was set. 

Notification method, which should be called to print error information. Prints log information about an error detected or fixed during an audit. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.