Skip to main content

Enrich your sessions with Breadcrumb

Adding Relevant Information to Sessions

Embrace can collect your logging data as 'breadcrumbs' and include it as relevant information and details to enrich your sessions.

Here's how you add a Breadcrumb to the session:

Embrace.getInstance().addBreadcrumb("onDragEvent called, starting drag")

In the above example, a Breadcrumb is being logged when a drag event listener is called. This event is not otherwise shown in the session and can be important depending on what the user does next.

Important

Breadcrumb messages must be 256 characters or less.

info

For how to best use Breadcrumbs, check out the Best Practices page.