Re: Redirect NSLog to stdout?
Re: Redirect NSLog to stdout?
- Subject: Re: Redirect NSLog to stdout?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 29 Jun 2010 13:32:35 -0700
On Tue, Jun 29, 2010 at 1:15 PM, Bill Garrison
<email@hidden> wrote:
> http://www.atomicbird.com/blog/2007/07/code-quickie-redirect-nslog
Rather than redirect all calls to NSLog, if your intent it to redirect
just your own logging information (which I would claim is more
correct), you could use this asl_log technique so you don't have to
give up the NSLog format specifier conveniences:
http://boredzo.org/blog/archives/2008-01-20/asl-logging
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden