11 lines
263 B
Objective-C
11 lines
263 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "log.h"
|
|
|
|
void debug(const char *message,...)
|
|
{
|
|
va_list args;
|
|
va_start(args, message);
|
|
NSLog(@"%@",[[NSString alloc] initWithFormat:[NSString stringWithUTF8String:message] arguments:args]);
|
|
va_end(args);
|
|
}
|