Skip navigation.
 
mlWhere does stdout go in an ordinary Cocoa application?
FROM : Karan, Cem (Civ, ARL/CISD)
DATE : Fri Nov 14 14:02:36 2008

I'm using a library that has been ported over from Linux that uses fprintf() and a global variable to determine where to dump a bunch of logging information.  I don't really have the option of converting all of this to syslog() or NSLog(), and I don't want to waste a bunch of time on this library in any case, but I would like to see what the output is.  The problem is that I'm creating an ordinary Cocoa application, not a command line application.  So where does the output of fprintf(stdout,…) go to in a Cocoa application?

Thanks,
Cem Karan

Related mailsAuthorDate
mlWhere does stdout go in an ordinary Cocoa application? Karan, Cem (Civ, A… Nov 14, 14:02
mlRe: Where does stdout go in an ordinary Cocoa application? Nick Zitzmann Nov 14, 17:22
mlRe: Where does stdout go in an ordinary Cocoa application? Scott Ribe Nov 14, 17:22
mlRE: Where does stdout go in an ordinary Cocoa application? Karan, Cem (Civ, A… Nov 14, 21:50