It is a rather silly question! but in the following function how do you use the remaining arguments passed in:
void NSLog(NSString *format, ...)
{
//here I can use "format" but how can I use the remaining arguments?
}
It is hard to find the answer to this question because I cant search for “…” ?!
By the way that is how NSLog works but I put it here just as an example my question has nothing to do with NSLog.
Use a variable argument list:
Edit:
Since you want a debug only log: