I'm trying to abstract out this logging API I'm using. The prototype for the logging function is
So I wanted to make my own functionCode:log(int level, char * fmt, ...)
That calls theirs. Is there some way I can pass the ... arg from my function into the actual logging function?Code:mylog(int level, char * fmt, ...)