Entries tagged with “coding” from O'Reilly Digital Media Blog

Digital Media Mac Blogs > Mac
You'd think that NSLog would write to stderr, right? Right? Um, no. At least not on the iPhone. This morning I spent way too much time trying to figure out why my freopen([logPath fileSystemRepresentation], "a", stderr); line wasn't working and redirecting NSLog output to my log file.

Recommended for You

Topics of Interest

Archives


 
 


Or, visit our complete archive.