• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Redirect NSLog to stdout?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: Tracking multiple NSURLConnections
  • Next by Date: Re: Tracking multiple NSURLConnections
  • Previous by thread: Re: Redirect NSLog to stdout?
  • Next by thread: Re: Redirect NSLog to stdout?
  • Index(es):
    • Date
    • Thread