• 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: NSLog to a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog to a file?


  • Subject: Re: NSLog to a file?
  • From: Angela Brett <email@hidden>
  • Date: Sat, 4 May 2002 01:19:04 +1200

At 10:19 AM +0200 3/5/2002, Malte Tancred wrote:
Make sure the program that starts the background app also redirects the output. Voil`!

At 1:53 PM +0200 3/5/2002, Ondra Cada wrote:
Actually, I think too that redirecting the tool output is the proper solution of what you need. If you insisted though -- or in a different situation -- it is quite easy:

It is not a tool, it is a background app which downloads files and other information. I doubt that anyone would run it just to get the text output. The logging is just a way of finding out what the app has been doing or if there were any errors detected.

I've used Ondra's code... it seems to work. :) I didn't know va_lists could be used like that.
--
Angela Brett email@hidden http://acronyms.co.nz/angela
"Great minds think different."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: NSLog to a file?
      • From: Malte Tancred <email@hidden>
References: 
 >Re: NSLog to a file? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Cocoa and Applescript
  • Next by Date: Re: NSLog to a file?
  • Previous by thread: Re: NSLog to a file?
  • Next by thread: Re: NSLog to a file?
  • Index(es):
    • Date
    • Thread