Logging
Send log messages to Fullstory without logging to the developer console
- Objective-C
- Swift
Parameters
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.
Multiple strings that will be logged to the Fullstory console.
Parameters
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.
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
- Objective-C
- Swift
[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"];
FS.log(with: FSEventLogLevel, message: message)
Messages logged to Fullstory will appear in the Fullstory console.
Example Invocation
Logging an error
FS.log(with: FSLOG_ERROR, message: "Login failed")