I have an app logging its crashes to Fabric's Crashlytics platform.
The crash logging works as expected, as it can be observed through the platform's dashboard. However, calls to the command CLSLog
doesn't seem to work as expected. The crashing session's log panel doesn't show a proper log output.
This is how we use CLSLog
within the app:
CLSLogv(message, getVaList([""]))
Can somebody point out what might be the possible cause for this problem?
Seems like there is some mistake in your CLSLogv
format. please try something like below
CLSLogv("%@", getVaList([message]))
because of as per fabric custom log doc
Swift string interpolation will not result in a compile-time constant string. Just like with printf and NSLog, using a non-constant string with CLSLog can result in a crash.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With