printf shadow for ios debug output.