/ Published in: Objective C

Macro to give an asl_log-like NSLog.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#define asl_NSLog(client, msg, level, format, ...) asl_log(client, msg, level, "%s", [[NSString stringWithFormat:format, ##__VA_ARGS__] UTF8String])
URL: http://boredzo.org/blog/archives/2008-01-20/asl-logging
Comments
