I have an API with variable arguments in C++ library. I am trying to call this API from swift language. But I am facing with compilation errors as below. If I tried by removing variable arguments from the API then it is compiling. Please help to fix the error with variable arguments.
Code Block void netops_log(enum log_level loglevel, const char *format, ...);
Code Block FilterDataProvider.swift:73:9: error: 'netops_log' is unavailable: Variadic function is unavailable netops_log(LOGLEVEL_DEBUG, "Starting the filter... from NE") ^~~~~~~~~~~~ __ObjC.netops_log:2:13: note: 'netops_log' has been explicitly marked unavailable here public func netops_log(_ loglevel: log_level, _ format: UnsafePointer<Int8>!, _ varargs: Any...)