We Recommend

Programming in Objective-C Programming in Objective-C
Programming in Objective-C is a concise, carefully written tutorial on the basics of Objective-C and object-oriented programming. The book makes no assumption about prior experience with object-oriented programming languages or with the C language (upon which Objective-C is based). And because of this, both novice and experienced programmers alike can use this book to quickly and effectively learn the fundamentals of Objective-C.


Ballyhoo


Posted By

zingo on 01/20/08


Tagged

osx objc syslog


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

tcol


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.