You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to pass a callback to the initialize method to filter the logs to be sent.
Use case: to avoid a deluge of false positive errors and benign issues.
Example usage:
window.sumoLogicOpenTelemetryRum.initialize({// ...collectErrors: true,filterLog: (log: LogRecord)=>{if(log.message.includes('foo')){returnundefined;// returning undefined will filter out this log}log.message='Bar '+log.message;// optional: can modify logreturnlog;// return modified log to be used}});
Allow to pass a callback to the
initialize
method to filter the logs to be sent.Use case: to avoid a deluge of false positive errors and benign issues.
Example usage:
This can be called in
recordLog
:The text was updated successfully, but these errors were encountered: