iOS
- When you can build locally with Xcode
- When you use the Console app
1
Check the logLevel setting
Make sure the log callback is attached when you initialize the SDK.You can filter by level.
LogLevel is Comparable.Before
0.1.12 only the text was passed — { line in ... }.
See the migration guide.2
Connect the device
Connect the iOS device to your Mac.
3
Build and run the app
Build the app in Xcode and install and run it on the connected device.
4
Set the console filter
Open the Console tab at the bottom of Xcode.
Type
OneS1ght into the filter field at the bottom right so that only OneS1ght logs are shown.5
Reproduce the issue
Reproduce the situation where the problem occurs.
6
Save the logs
Keep the app in the foreground for about 30 seconds.
Select all the logs in the Console, copy them, paste them into a text editor and save the file.
Log levels
When reporting a problem, send everything — don’t filter by level. The flow right
before a failure is often what points to the cause.