Macro for ASL Log like NSLog

/ Published in: Objective C
Save to your folder(s)

Macro to give an asl_log-like NSLog.

Copy this code and paste it in your HTML
  1. #define asl_NSLog(client, msg, level, format, ...) asl_log(client, msg, level, "%s", [[NSString stringWithFormat:format, ##__VA_ARGS__] UTF8String])


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.