Skip to main content

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, or ERROR. Each maps to the closest severity of the platform SDK. iOS has no dedicated verbose level, so LOG is treated as DEBUG there.

  • message String required

    The message to log.