XLL+ Class Library (7.0)

XllConfigurator::configure

Configures the logging framework

static bool configure(
   bool bIgnoreMissingFile = true
);

Parameters

bIgnoreMissingFile

If true, then a missing configuration file is not considered an error, and in this event true will be returned. If false, then the configuration file must be present; if it is not found, the function will return false.

Return Value

If the method returns false, an error occurred, and a message box will be displayed to the user.

Remarks

The configuration file is expected to be in the same directory as the XLL file. Its name should be the same as the XLL, with the addition of the suffix .log.ini. For example, an add-in MyAddin.xll will search for a log configuration file MyAddin.xll.log.ini.

For the format of the configuration file, see Configuration files.

Requirements

Header: cpplog.h

See Also

XllConfigurator Class | XllConfigurator Methods