• 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
Where does stdout go in an ordinary Cocoa application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where does stdout go in an ordinary Cocoa application?


  • Subject: Where does stdout go in an ordinary Cocoa application?
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Fri, 14 Nov 2008 08:02:36 -0500
  • Thread-topic: Where does stdout go in an ordinary Cocoa application?

I'm using a library that has been ported over from Linux that uses fprintf() and a global variable to determine where to dump a bunch of logging information.  I don't really have the option of converting all of this to syslog() or NSLog(), and I don't want to waste a bunch of time on this library in any case, but I would like to see what the output is.  The problem is that I'm creating an ordinary Cocoa application, not a command line application.  So where does the output of fprintf(stdout,…) go to in a Cocoa application?

Thanks,
Cem Karan
_______________________________________________

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: Where does stdout go in an ordinary Cocoa application?
      • From: Scott Ribe <email@hidden>
    • Re: Where does stdout go in an ordinary Cocoa application?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Distributed Objects Performance
  • Next by Date: [ANN] SArchiveKit: A XAR Cocoa library
  • Previous by thread: Changing cursor in NSTextView's Subview
  • Next by thread: Re: Where does stdout go in an ordinary Cocoa application?
  • Index(es):
    • Date
    • Thread