Re: NSLog to a file?
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.