Share

AcDbHostApplicationServices::auditPrintReport

C++

virtual ACDBCORE2D_PORT void auditPrintReport(
    AcDbAuditInfo * pAuditInfo, 
    const ACHAR * line, 
    int both
) const;

Description

This method may optionally be overridden by third-party host applications if they want to capture more information than is already provided by the default audit API.

The intended behavior of auditPrintReport() is to allow your application access to the more detailed information than is printed to the report, such as 'An invalid width was found; replaced by 0.' This level of detail is not currently available via other API mechanisms. The programmer overriding this method could print this data to a log file, and also echo it to the command line (if present) if both is set to 1. The default implementation is NULL.

Do not call the pAuditInfo->printError() method inside auditPrintReport(), as printError() calls auditPrintReport().

Parameters

Parameters Description
pAuditInfo Information about this audit so far
line String to print
both Indicates printing should go to both the command line and to the report file if 1, but just to the report file if 0

Links

AcDbHostApplicationServices

Was this information helpful?