Skip to content

Developer Log File in Swift project. #1

@skram

Description

@skram

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions