Configures the logging framework
static void configure( const TCHAR* fileName, bool ignoreMissingFile = false ); static bool configure( const TCHAR* fileName, bool ignoreMissingFile, std::basic_string<TCHAR>& errorString ); |
The full name of the configuration file, including its directory.
If true, then a missing configuration file is not considered an error, and in this event true will be returned. If false or omitted, then the configuration file must be present. If missing, the function will return false.
The full name of the configuration file, including its directory.
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 false, then the configuration file must be present; if it is not found, the function will return false, and errorString will be set to an error message.
If an error occurs, a description of the problem will be placed in this variable, and false will be returned. If no error occurs, errorString will be cleared.
Header: cpplog.h