Re: Spewing stderr to an NSTextView
Re: Spewing stderr to an NSTextView
- Subject: Re: Spewing stderr to an NSTextView
- From: Chris Williams <email@hidden>
- Date: Tue, 13 Nov 2007 12:59:05 -0800
- Thread-topic: Spewing stderr to an NSTextView
Thanks, just what I was looking for.
From: Thomas Engelmeier <email@hidden>
Subject: Re: Spewing stderr to an NSTextView
Follow the Moriarity sample code
(http://developer.apple.com/samplecode/Moriarity/
) and attach the NSFileHandle not to the forked but your apps stdout /
stderr filehandles.
Besides that, you might want to reconsider using you own log function
that includes timestamps, log levels and filters depending on the
loglevel and / or read up on syslog and asl (man syslog, man asl)
_______________________________________________
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