static void createInstance(const std::string &fileName="database.txt", const std::string &payloadDir="", bool readOnly=false, LogConfig::ELogLevel logLevel=LogConfig::c_Warning, bool invertLogging=false)
Method to set the database instance to a local database.