Skip navigation.
 
mlCapturing NSLog in Leopard
FROM : Gerd Knops
DATE : Sat Nov 24 21:41:49 2007

Seems the old trick

   freopen([logPath fileSystemRepresentation],"a",stderr);

to catch NSLog output no longer works under Leopard. It catches 
anything written to stderr, but no NSLog output. Any ideas?

Thanks

Gerd

Related mailsAuthorDate
mlCapturing NSLog in Leopard Gerd Knops Nov 24, 21:41
mlRe: Capturing NSLog in Leopard Gerd Knops Nov 24, 23:39
mlRe: Capturing NSLog in Leopard Gerd Knops Nov 25, 00:05