title: Write stderr on iPhone to both file and console
body: <p>I'm following the suggestion in the answer <a href="https://stackoverflow.com/questions/5179108/iphone-how-to-read-application-logs-from-device">here</a> for redirecting NSLog output on an iOS device to a file, which works great.  The problem is that it no longer shows up in the console on the device.  What I'd really like is a way to tee the stderr stream to both the console and the file.  Does anyone have an idea how to do that?</p>