Logging
Logs a message into the current session at the given severity level, if the level meets or exceeds the minimum threshold.
These messages are not written to device logs (logcat / NSLog). They appear in session replay under Dev Tools > Console.
The minimum threshold defaults to DEBUG on iOS and INFO on Android, and can be modified in your app's build configuration.
Parameters
- level FSLogLevel required
One of
LOG,DEBUG,INFO,WARN, orERROR. Each maps to the closest severity of the platform SDK. iOS has no dedicated verbose level, soLOGis treated asDEBUGthere. - message String required
The message to log.