Skip navigation.
 
mlRe: Spewing stderr to an NSTextView
FROM : Chris Williams
DATE : Tue Nov 13 21:59:05 2007

Thanks, just what I was looking for.


From: Thomas Engelmeier <<email_removed>>
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)

Related mailsAuthorDate
mlSpewing stderr to an NSTextView Chris Williams Nov 13, 00:39
mlRe: Spewing stderr to an NSTextView Thomas Engelmeier Nov 13, 19:30
mlRe: Spewing stderr to an NSTextView Chris Williams Nov 13, 21:59