log static method

Future<void> log({
  1. FSLogLevel level = FSLogLevel.info,
  2. required String message,
})

Log a message that will appear in the Dev Tools > Console section of the Fullstory replay.

Errors will also appear in the event list at the right.

Capture is dependant on the logLevel setting in the Android and iOS settings.

For more information, see https://developer.fullstory.com/mobile/flutter/fullcapture/logging/

Implementation

static Future<void> log(
    {FSLogLevel level = FSLogLevel.info, required String message}) {
  return FullstoryFlutterPlatform.instance
      .log(level: level, message: message);
}