Airlock supports a concept called Breadcrumbs, which is a trail of events which happened prior to an issue. Oftentimes these events are very similar to traditional logs, but also have the ability to record more rich structured data.

Each crumb in the trail has the following attributes:

Message: A string describing the event. The most common vector, often used as a drop-in for a traditional log message.

Data: A mapping (str => str) of metadata around the event. This is often used instead of message, but may also be used in addition. All keys here are rendered out as a table in the breadcrumb on display but some crumb types might special case some keys.

Category: A category to label the event under. This generally is similar to a logger name, and will let you more easily understand the area an event took place, such as auth.

Level: The level may be any of fatal, error, warning, info, or debug.

Automatic Breadcrumbs

SDKs will automatically start recording breadcrumbs by enabling integrations. For instance, the browser JavaScript SDK will automatically record all location changes.