Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Redirect NSLog to stdout?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirect NSLog to stdout?



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

References: 
 >Redirect NSLog to stdout? (From: Tito Ciuro <email@hidden>)
 >Re: Redirect NSLog to stdout? (From: Bill Garrison <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.