Maxim Logo
How toLog your application

Use Events to send point-in-time information

Track application milestones and state changes using event logging

Create events to mark specific points in time during your application execution. Capture additional metadata such as intermediate states and system milestones through events.

Attach an event to your trace

await trace.event({
    id: "event-id",
    name: "travel-plan-emailed",
    tags: { "email": "[email protected]" },
});
// Note: Replace 'trace.event' with 'span.event' when you are creating events within a span

On this page