Posted By

zingo on 01/20/08


Tagged

osx objc syslog


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

tcol
Tintenklecks
cnathan


Macro for ASL Log like NSLog


 / Published in: Objective C
 

URL: http://boredzo.org/blog/archives/2008-01-20/asl-logging

Macro to give an asl_log-like NSLog.

  1. #define asl_NSLog(client, msg, level, format, ...) asl_log(client, msg, level, "%s", [[NSString stringWithFormat:format, ##__VA_ARGS__] UTF8String])

Report this snippet  

You need to login to post a comment.