What would be a good equivalent of this objc in Oxygene ?
-
(void)logMessage:(NSString *)format, … NS_FORMAT_FUNCTION(1,2) {
// gets message as string
va_list argp;
va_start(argp, format);
NSString *log = [[NSString alloc] initWithFormat:format arguments:argp];
va_end(argp);// outputs to stdout
NSLog(@"%@", log);}
I figured I could just copy the declaration for NSLog but the compiler complains about not being able to find
&Var
Thanks,
John