mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-25 22:09:35 +00:00
14 lines
283 B
Plaintext
14 lines
283 B
Plaintext
#include "Log.h"
|
|
#include <Foundation/Foundation.h>
|
|
|
|
void LOG(u16 type, const char * format, ...) {
|
|
if (type > LOG_LEVEL)
|
|
return;
|
|
|
|
va_list va;
|
|
va_start(va, format);
|
|
NSString *nsformat = [NSString stringWithFormat:@"GLideN64: %s", format];
|
|
NSLogv(nsformat, va);
|
|
va_end(va);
|
|
}
|