Scenarios

Scenarios overview

Real-world scenarios that combine several axes of evlog — bring a local debugging toolkit, multi-tenant context, compliance audit, or shared error vocabulary into your project.

The other "build on top" pages cover one axis at a time — a custom drain, a custom enricher, a stream server. The scenarios in this section show how to combine them to solve specific real-world jobs.

Each scenario is opinionated, copy-paste oriented, and self-contained: drop the code in your project and it works.

Scenarios

What you getAxes used
Local debugging toolkitA live event panel + replay-from-disk in any appobservers/stream-server + observers/fs-reader
Tenant-aware loggingEvery event carries the right tenant id, automaticallypipeline/custom-enrichers + pipeline/plugins
Compliance auditA tamper-evident audit pipeline shipping to your secure backendsinks/custom-drains + audit catalog
Cross-app error vocabularyOne @my-org/evlog-errors package every service depends onshared/catalogs-as-packages

When you should use this section

Use the scenarios when you know roughly what you want to build but not which evlog primitives to combine. Each scenario links back to the canonical pages for each surface, so you can drill down once you've found the recipe that fits.