Configures the logging framework
static bool configure( bool bIgnoreMissingFile = true ); |
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.
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.
Header: cpplog.h