Logging
Send log messages to Fullstory without logging to the developer console
Parameters
level string optional
Possible values: FSLogLevel.error
, FSLogLevel.warning
, FSLogLevel.info
, FSLogLevel.debug
, FSLogLevel.log
These values are comparable to the methods available to the browser console API.
message string required
A text string that will be logged to the Fullstory console.
The log levels result in different output styles in the Fullstory console.
Additional Information
FS.log({FSLogLevel level = FSLogLevel.info, required String message})
Messages logged to Fullstory will appear in the Fullstory console.
Example Invocation
Logging an error
FS.log(level: FSLogLevel.error, message:"Exception caught: $e");