APFeedBack icon indicating copy to clipboard operation
APFeedBack copied to clipboard

Developer Log File in Swift project.

Open skram opened this issue 8 years ago • 1 comments

I noticed the "feedbacklog.txt" file was not containing any of my logs, utilizing print() in a swift project. I changed Line #70 in DeviceInfo.m from

    `freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding],"a+",stderr);`

to

    `freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding],"a+",stdout);`

Swift does not print to stderr, instead use stdout

skram avatar Jun 28 '16 06:06 skram

Ok, thank you look at it later.

appsyscode avatar Jun 28 '16 08:06 appsyscode