Skip to main content
Version: 16.8.2

GW2RegisterReportFile

The GW2RegisterReportFile function registers the file path where the engineering log file is to be placed. This API generates the report file only for debug builds of the Glasswall Engine.

Synopsis

For session session, the GW2RegisterReportFile function registers the name of the file where the engineering log file is to be placed. The name is the string pointed to by reportFilePathName.

#include "glasswall.core2.api.h"
int GW2RegisterReportFile(Session session, const char *reportFilePathName);

Returns

Returns an integer GW2_RetStatus enum value. Negative numbers indicate a failure.