Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
A JavaScript value to output
Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
Show a modal which asks for feedback. Once the user closes the modal or sends the feedback the returned promise resolves with the result.
Bugfender.getUserFeedback().then((result) => {
if (result.isSent) {
// User sent the feedback
// `result.feedbackURL` contains the Bugfender feedback URL
} else {
// User closed the modal without sending the feedback
}
});
Optional
options: UserFeedbackOptionsOptions object to configure modal strings
Promise which resolves once the user closes the modal or sends the feedback
A JavaScript value to output
Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
Initialize Bugfender SDK
Before calling any other method the SDK must be initilized using this method.
Only after initialization the global error handler (registerErrorHandler
) and
window.console
overrides (overrideConsoleMethods
) will be available.
Options object. The only required property is appKey
.
A JavaScript value to output
Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
Remove a device associated key-value pair. Learn more.
Key identifier
Use this method if you need more control over the data sent while logging. See ILogEntry
interface reference to see all the accepted properties.
Log object that complies with ILogEntry
interface.
Set a device associated key-value pair. Learn more.
Key identifier.
Value.
A JavaScript value to output
Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
A JavaScript value to output
Rest
...objs: unknown[]List of optional JavaScript values to output
String message with optional substitutions. This mimicks que the window.console
template messages. Learn more in MDN.
Message with optional %
placeholders
Rest
...subst: unknown[]Optional substitutions list
A JavaScript value to output