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