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)
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 mails | Author | Date |
|---|---|---|
| Chris Williams | Nov 13, 00:39 | |
| Thomas Engelmeier | Nov 13, 19:30 | |
| Chris Williams | Nov 13, 21:59 |






Cocoa mail archive

