Skip to main content

mount()

Starts the automatic error capturing and performance monitoring.

captureError(error, context?)

Manually capture an exception.
trace.captureError(new Error('Something went wrong'), { userId: 123 });

log(message, level?)

Send a custom log event.