Skip to main content

Logging

Send log messages to Fullstory without logging to the developer console

Parameters
    FSEventLogLevel string required

    Possible values: 'FSLOG_ASSERT', 'FSLOG_INFO', 'FSLOG_WARNING', 'FSLOG_ERROR', 'FSLOG_DEBUG'

    These values are identical to the four methods available to the browser console API.

    format string required

    Multiple strings that will be logged to the Fullstory console.

The log levels result in different output styles in the Fullstory console.

Additional Information

[FS logWithLevel: FSEventLogLevel format: NSString, ...]

Messages logged to Fullstory will appear in the Fullstory console.

Example Invocation

Logging an error

[FS logWithLevel:FSLOG_ERROR format:@"Login failed"];