[{"data":1,"prerenderedAt":1222},["ShallowReactive",2],{"navigation_docs":3,"-cli-overview":534,"-cli-overview-surround":1217},[4,30,80,128,308,440,499],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Start","\u002Fstart","1.start",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Why start with evlog","\u002Fstart\u002Fwhy-evlog","1.start\u002F2.why-evlog","i-lucide-rocket",{"title":20,"path":21,"stem":22,"icon":23},"Installation","\u002Fstart\u002Finstallation","1.start\u002F3.installation","i-lucide-download",{"title":25,"path":26,"stem":27,"icon":28},"Quick Start","\u002Fstart\u002Fquick-start","1.start\u002F4.quick-start","i-lucide-zap",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Learn","\u002Flearn","2.learn",[35,40,45,50,55,60,65,70,75],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Flearn\u002Foverview","2.learn\u002F0.overview","i-lucide-list",{"title":41,"path":42,"stem":43,"icon":44},"Simple Logging","\u002Flearn\u002Fsimple-logging","2.learn\u002F1.simple-logging","i-lucide-terminal",{"title":46,"path":47,"stem":48,"icon":49},"Wide Events","\u002Flearn\u002Fwide-events","2.learn\u002F2.wide-events","i-lucide-layers",{"title":51,"path":52,"stem":53,"icon":54},"Structured Errors","\u002Flearn\u002Fstructured-errors","2.learn\u002F3.structured-errors","i-lucide-shield-alert",{"title":56,"path":57,"stem":58,"icon":59},"Lifecycle","\u002Flearn\u002Flifecycle","2.learn\u002F4.lifecycle","i-lucide-arrow-right-left",{"title":61,"path":62,"stem":63,"icon":64},"Sampling","\u002Flearn\u002Fsampling","2.learn\u002F5.sampling","i-lucide-filter",{"title":66,"path":67,"stem":68,"icon":69},"Auto-Redaction","\u002Flearn\u002Fredaction","2.learn\u002F6.redaction","i-lucide-eye-off",{"title":71,"path":72,"stem":73,"icon":74},"Typed Fields","\u002Flearn\u002Ftyped-fields","2.learn\u002F7.typed-fields","i-simple-icons-typescript",{"title":76,"path":77,"stem":78,"icon":79},"Catalogs","\u002Flearn\u002Fcatalogs","2.learn\u002F8.catalogs","i-lucide-book-open",{"title":81,"path":82,"stem":83,"children":84,"page":29},"CLI","\u002Fcli","3.cli",[85,88,93,98,103,108,113,118,123],{"title":36,"path":86,"stem":87,"icon":44},"\u002Fcli\u002Foverview","3.cli\u002F0.overview",{"title":89,"path":90,"stem":91,"icon":92},"init","\u002Fcli\u002Finit","3.cli\u002F1.init","i-lucide-wand-sparkles",{"title":94,"path":95,"stem":96,"icon":97},"map","\u002Fcli\u002Fmap","3.cli\u002F2.map","i-lucide-radar",{"title":99,"path":100,"stem":101,"icon":102},"Rules","\u002Fcli\u002Frules","3.cli\u002F3.rules","i-lucide-list-checks",{"title":104,"path":105,"stem":106,"icon":107},"Scoring","\u002Fcli\u002Fscoring","3.cli\u002F4.scoring","i-lucide-gauge",{"title":109,"path":110,"stem":111,"icon":112},"CI","\u002Fcli\u002Fci","3.cli\u002F5.ci","i-lucide-git-pull-request",{"title":114,"path":115,"stem":116,"icon":117},"doctor","\u002Fcli\u002Fdoctor","3.cli\u002F6.doctor","i-lucide-stethoscope",{"title":119,"path":120,"stem":121,"icon":122},"telemetry","\u002Fcli\u002Ftelemetry","3.cli\u002F7.telemetry","i-lucide-bar-chart-3",{"title":124,"path":125,"stem":126,"icon":127},"agents","\u002Fcli\u002Fagents","3.cli\u002F8.agents","i-lucide-bot",{"title":129,"path":130,"stem":131,"children":132,"page":29},"Integrate","\u002Fintegrate","4.integrate",[133,137,220],{"title":36,"path":134,"stem":135,"icon":136},"\u002Fintegrate\u002Foverview","4.integrate\u002F0.overview","i-lucide-plug",{"title":138,"path":139,"stem":140,"children":141,"page":29},"Adapters","\u002Fintegrate\u002Fadapters","4.integrate\u002Fadapters",[142,145,175,200],{"title":36,"path":143,"stem":144,"icon":39},"\u002Fintegrate\u002Fadapters\u002Foverview","4.integrate\u002Fadapters\u002F01.overview",{"title":146,"path":147,"stem":148,"children":149,"page":29},"Cloud","\u002Fintegrate\u002Fadapters\u002Fcloud","4.integrate\u002Fadapters\u002Fcloud",[150,155,160,165,170],{"title":151,"path":152,"stem":153,"icon":154},"Axiom","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Faxiom","4.integrate\u002Fadapters\u002Fcloud\u002F01.axiom","i-custom-axiom",{"title":156,"path":157,"stem":158,"icon":159},"PostHog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fposthog","4.integrate\u002Fadapters\u002Fcloud\u002F02.posthog","i-simple-icons-posthog",{"title":161,"path":162,"stem":163,"icon":164},"Sentry","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fsentry","4.integrate\u002Fadapters\u002Fcloud\u002F03.sentry","i-simple-icons-sentry",{"title":166,"path":167,"stem":168,"icon":169},"Better Stack","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fbetter-stack","4.integrate\u002Fadapters\u002Fcloud\u002F04.better-stack","i-simple-icons-betterstack",{"title":171,"path":172,"stem":173,"icon":174},"Datadog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fdatadog","4.integrate\u002Fadapters\u002Fcloud\u002F05.datadog","i-simple-icons-datadog",{"title":176,"path":177,"stem":178,"children":179,"page":29},"Cloud or Self-Hosted","\u002Fintegrate\u002Fadapters\u002Fhybrid","4.integrate\u002Fadapters\u002Fhybrid",[180,185,190,195],{"title":181,"path":182,"stem":183,"icon":184},"Grafana Loki","\u002Fintegrate\u002Fadapters\u002Fhybrid\u002Floki","4.integrate\u002Fadapters\u002Fhybrid\u002F01.loki","i-simple-icons-grafana",{"title":186,"path":187,"stem":188,"icon":189},"ClickHouse","\u002Fintegrate\u002Fadapters\u002Fhybrid\u002Fclickhouse","4.integrate\u002Fadapters\u002Fhybrid\u002F02.clickhouse","i-simple-icons-clickhouse",{"title":191,"path":192,"stem":193,"icon":194},"OTLP","\u002Fintegrate\u002Fadapters\u002Fhybrid\u002Fotlp","4.integrate\u002Fadapters\u002Fhybrid\u002F03.otlp","i-simple-icons-opentelemetry",{"title":196,"path":197,"stem":198,"icon":199},"HyperDX","\u002Fintegrate\u002Fadapters\u002Fhybrid\u002Fhyperdx","4.integrate\u002Fadapters\u002Fhybrid\u002F04.hyperdx","i-custom-hyperdx",{"title":201,"path":202,"stem":203,"children":204,"page":29},"Self-Hosted","\u002Fintegrate\u002Fadapters\u002Fself-hosted","4.integrate\u002Fadapters\u002Fself-hosted",[205,210,215],{"title":206,"path":207,"stem":208,"icon":209},"File System","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Ffs","4.integrate\u002Fadapters\u002Fself-hosted\u002F01.fs","i-lucide-hard-drive",{"title":211,"path":212,"stem":213,"icon":214},"NuxtHub","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fnuxthub","4.integrate\u002Fadapters\u002Fself-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":216,"path":217,"stem":218,"icon":219},"Memory","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fmemory","4.integrate\u002Fadapters\u002Fself-hosted\u002F03.memory","i-lucide-cpu",{"title":221,"path":222,"stem":223,"children":224,"page":29},"Frameworks","\u002Fintegrate\u002Fframeworks","4.integrate\u002Fframeworks",[225,229,234,239,244,249,254,259,264,269,274,279,284,289,293,298,303],{"title":36,"path":226,"stem":227,"icon":228},"\u002Fintegrate\u002Fframeworks\u002Foverview","4.integrate\u002Fframeworks\u002F00.overview","i-lucide-layout-grid",{"title":230,"path":231,"stem":232,"icon":233},"Nuxt","\u002Fintegrate\u002Fframeworks\u002Fnuxt","4.integrate\u002Fframeworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":235,"path":236,"stem":237,"icon":238},"Next.js","\u002Fintegrate\u002Fframeworks\u002Fnextjs","4.integrate\u002Fframeworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":240,"path":241,"stem":242,"icon":243},"SvelteKit","\u002Fintegrate\u002Fframeworks\u002Fsveltekit","4.integrate\u002Fframeworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":245,"path":246,"stem":247,"icon":248},"Nitro","\u002Fintegrate\u002Fframeworks\u002Fnitro","4.integrate\u002Fframeworks\u002F04.nitro","i-custom-nitro",{"title":250,"path":251,"stem":252,"icon":253},"TanStack Start","\u002Fintegrate\u002Fframeworks\u002Ftanstack-start","4.integrate\u002Fframeworks\u002F05.tanstack-start","i-custom-tanstack",{"title":255,"path":256,"stem":257,"icon":258},"NestJS","\u002Fintegrate\u002Fframeworks\u002Fnestjs","4.integrate\u002Fframeworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":260,"path":261,"stem":262,"icon":263},"Express","\u002Fintegrate\u002Fframeworks\u002Fexpress","4.integrate\u002Fframeworks\u002F07.express","i-simple-icons-express",{"title":265,"path":266,"stem":267,"icon":268},"Hono","\u002Fintegrate\u002Fframeworks\u002Fhono","4.integrate\u002Fframeworks\u002F08.hono","i-simple-icons-hono",{"title":270,"path":271,"stem":272,"icon":273},"Fastify","\u002Fintegrate\u002Fframeworks\u002Ffastify","4.integrate\u002Fframeworks\u002F09.fastify","i-simple-icons-fastify",{"title":275,"path":276,"stem":277,"icon":278},"Elysia","\u002Fintegrate\u002Fframeworks\u002Felysia","4.integrate\u002Fframeworks\u002F10.elysia","i-custom-elysia",{"title":280,"path":281,"stem":282,"icon":283},"React Router","\u002Fintegrate\u002Fframeworks\u002Freact-router","4.integrate\u002Fframeworks\u002F11.react-router","i-custom-reactrouter",{"title":285,"path":286,"stem":287,"icon":288},"Cloudflare Workers","\u002Fintegrate\u002Fframeworks\u002Fcloudflare-workers","4.integrate\u002Fframeworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":290,"path":291,"stem":292,"icon":74},"Standalone","\u002Fintegrate\u002Fframeworks\u002Fstandalone","4.integrate\u002Fframeworks\u002F13.standalone",{"title":294,"path":295,"stem":296,"icon":297},"Astro","\u002Fintegrate\u002Fframeworks\u002Fastro","4.integrate\u002Fframeworks\u002F14.astro","i-simple-icons-astro",{"title":299,"path":300,"stem":301,"icon":302},"oRPC","\u002Fintegrate\u002Fframeworks\u002Forpc","4.integrate\u002Fframeworks\u002F15.orpc","i-lucide-network",{"title":304,"path":305,"stem":306,"icon":307},"AWS Lambda","\u002Fintegrate\u002Fframeworks\u002Faws-lambda","4.integrate\u002Fframeworks\u002F16.aws-lambda","i-custom-lambda",{"title":309,"path":310,"stem":311,"children":312,"page":29},"Use Cases","\u002Fuse-cases","5.use-cases",[313,316,321,350,377,409,430,435],{"title":36,"path":314,"stem":315,"icon":102},"\u002Fuse-cases\u002Foverview","5.use-cases\u002F0.overview",{"title":317,"path":318,"stem":319,"icon":320},"Client Logging","\u002Fuse-cases\u002Fclient-logging","5.use-cases\u002F1.client-logging","i-lucide-monitor",{"title":322,"icon":323,"path":324,"stem":325,"children":326,"page":29},"AI SDK","i-simple-icons-vercel","\u002Fuse-cases\u002Fai-sdk","5.use-cases\u002F2.ai-sdk",[327,330,335,340,345],{"title":36,"path":328,"stem":329,"icon":39},"\u002Fuse-cases\u002Fai-sdk\u002Foverview","5.use-cases\u002F2.ai-sdk\u002F01.overview",{"title":331,"path":332,"stem":333,"icon":334},"Usage","\u002Fuse-cases\u002Fai-sdk\u002Fusage","5.use-cases\u002F2.ai-sdk\u002F02.usage","i-lucide-code",{"title":336,"path":337,"stem":338,"icon":339},"Options","\u002Fuse-cases\u002Fai-sdk\u002Foptions","5.use-cases\u002F2.ai-sdk\u002F03.options","i-lucide-sliders",{"title":341,"path":342,"stem":343,"icon":344},"Metadata","\u002Fuse-cases\u002Fai-sdk\u002Fmetadata","5.use-cases\u002F2.ai-sdk\u002F04.metadata","i-lucide-database",{"title":346,"path":347,"stem":348,"icon":349},"Telemetry","\u002Fuse-cases\u002Fai-sdk\u002Ftelemetry","5.use-cases\u002F2.ai-sdk\u002F05.telemetry","i-lucide-activity",{"title":351,"icon":352,"path":353,"stem":354,"children":355,"page":29},"Better Auth","i-simple-icons-betterauth","\u002Fuse-cases\u002Fbetter-auth","5.use-cases\u002F3.better-auth",[356,359,364,369,373],{"title":36,"path":357,"stem":358,"icon":39},"\u002Fuse-cases\u002Fbetter-auth\u002Foverview","5.use-cases\u002F3.better-auth\u002F01.overview",{"title":360,"path":361,"stem":362,"icon":363},"Identify User","\u002Fuse-cases\u002Fbetter-auth\u002Fidentify-user","5.use-cases\u002F3.better-auth\u002F02.identify-user","i-lucide-user-check",{"title":365,"path":366,"stem":367,"icon":368},"Middleware","\u002Fuse-cases\u002Fbetter-auth\u002Fmiddleware","5.use-cases\u002F3.better-auth\u002F03.middleware","i-lucide-shield",{"title":370,"path":371,"stem":372,"icon":320},"Client Sync","\u002Fuse-cases\u002Fbetter-auth\u002Fclient-sync","5.use-cases\u002F3.better-auth\u002F04.client-sync",{"title":374,"path":375,"stem":376,"icon":107},"Performance","\u002Fuse-cases\u002Fbetter-auth\u002Fperformance","5.use-cases\u002F3.better-auth\u002F05.performance",{"title":378,"icon":379,"path":380,"stem":381,"children":382,"page":29},"Audit Logs","i-lucide-shield-check","\u002Fuse-cases\u002Faudit","5.use-cases\u002F4.audit",[383,386,391,396,401,405],{"title":36,"path":384,"stem":385,"icon":39},"\u002Fuse-cases\u002Faudit\u002Foverview","5.use-cases\u002F4.audit\u002F01.overview",{"title":387,"path":388,"stem":389,"icon":390},"Schema","\u002Fuse-cases\u002Faudit\u002Fschema","5.use-cases\u002F4.audit\u002F02.schema","i-lucide-file-text",{"title":392,"path":393,"stem":394,"icon":395},"Recording","\u002Fuse-cases\u002Faudit\u002Frecording","5.use-cases\u002F4.audit\u002F03.recording","i-lucide-pen-line",{"title":397,"path":398,"stem":399,"icon":400},"Drains","\u002Fuse-cases\u002Faudit\u002Fpipeline","5.use-cases\u002F4.audit\u002F04.pipeline","i-lucide-link",{"title":402,"path":403,"stem":404,"icon":379},"Compliance","\u002Fuse-cases\u002Faudit\u002Fcompliance","5.use-cases\u002F4.audit\u002F05.compliance",{"title":406,"path":407,"stem":408,"icon":79},"Recipes","\u002Fuse-cases\u002Faudit\u002Frecipes","5.use-cases\u002F4.audit\u002F06.recipes",{"title":346,"icon":107,"path":410,"stem":411,"children":412,"page":29},"\u002Fuse-cases\u002Ftelemetry","5.use-cases\u002F4.telemetry",[413,416,421,426],{"title":36,"path":414,"stem":415,"icon":39},"\u002Fuse-cases\u002Ftelemetry\u002Foverview","5.use-cases\u002F4.telemetry\u002F01.overview",{"title":417,"path":418,"stem":419,"icon":420},"Setup","\u002Fuse-cases\u002Ftelemetry\u002Fsetup","5.use-cases\u002F4.telemetry\u002F02.setup","i-lucide-wrench",{"title":422,"path":423,"stem":424,"icon":425},"Ingest","\u002Fuse-cases\u002Ftelemetry\u002Fingest","5.use-cases\u002F4.telemetry\u002F03.ingest","i-lucide-server",{"title":427,"path":428,"stem":429,"icon":79},"Reference","\u002Fuse-cases\u002Ftelemetry\u002Freference","5.use-cases\u002F4.telemetry\u002F04.reference",{"title":431,"path":432,"stem":433,"icon":434},"Enrichers","\u002Fuse-cases\u002Fenrichers","5.use-cases\u002F5.enrichers","i-lucide-sparkles",{"title":436,"path":437,"stem":438,"icon":439},"eve","\u002Fuse-cases\u002Feve","5.use-cases\u002F5.eve","i-custom-eve",{"title":441,"path":442,"stem":443,"children":444,"page":29},"Extend","\u002Fextend","6.extend",[445,449,454,459,463,468,472,476,480,484,489,494],{"title":36,"path":446,"stem":447,"icon":448},"\u002Fextend\u002Foverview","6.extend\u002F0.overview","i-lucide-blocks",{"title":450,"path":451,"stem":452,"icon":453},"Stream","\u002Fextend\u002Fstream","6.extend\u002F1.stream","i-lucide-radio-tower",{"title":455,"path":456,"stem":457,"icon":458},"Custom framework","\u002Fextend\u002Fcustom-framework","6.extend\u002F10.custom-framework","i-lucide-puzzle",{"title":460,"path":461,"stem":462,"icon":453},"Diagnostics channel","\u002Fextend\u002Fdiagnostics-channel","6.extend\u002F11.diagnostics-channel",{"title":464,"path":465,"stem":466,"icon":467},"FS reader","\u002Fextend\u002Ffs-reader","6.extend\u002F2.fs-reader","i-lucide-folder-search",{"title":406,"path":469,"stem":470,"icon":471},"\u002Fextend\u002Fconsumer-recipes","6.extend\u002F3.consumer-recipes","i-lucide-chef-hat",{"title":473,"path":474,"stem":475,"icon":448},"Plugins","\u002Fextend\u002Fplugins","6.extend\u002F4.plugins",{"title":477,"path":478,"stem":479,"icon":434},"Custom enrichers","\u002Fextend\u002Fcustom-enrichers","6.extend\u002F5.custom-enrichers",{"title":481,"path":482,"stem":483,"icon":64},"Tail sampling","\u002Fextend\u002Ftail-sampling","6.extend\u002F6.tail-sampling",{"title":485,"path":486,"stem":487,"icon":488},"Identity headers","\u002Fextend\u002Fidentity-headers","6.extend\u002F7.identity-headers","i-lucide-fingerprint",{"title":490,"path":491,"stem":492,"icon":493},"Custom drains","\u002Fextend\u002Fcustom-drains","6.extend\u002F8.custom-drains","i-lucide-share-2",{"title":495,"path":496,"stem":497,"icon":498},"Drain pipeline","\u002Fextend\u002Fdrain-pipeline","6.extend\u002F9.drain-pipeline","i-lucide-workflow",{"title":427,"path":500,"stem":501,"children":502,"page":29},"\u002Freference","7.reference",[503,508,511,516,520,525,529],{"title":504,"path":505,"stem":506,"icon":507},"Configuration","\u002Freference\u002Fconfiguration","7.reference\u002F1.configuration","i-lucide-settings",{"title":374,"path":509,"stem":510,"icon":107},"\u002Freference\u002Fperformance","7.reference\u002F2.performance",{"title":512,"path":513,"stem":514,"icon":515},"Vite Plugin","\u002Freference\u002Fvite-plugin","7.reference\u002F3.vite-plugin","i-custom-vite",{"title":517,"path":518,"stem":519,"icon":379},"Best Practices","\u002Freference\u002Fbest-practices","7.reference\u002F4.best-practices",{"title":521,"path":522,"stem":523,"icon":524},"vs Other Loggers","\u002Freference\u002Fvs-other-loggers","7.reference\u002F5.vs-other-loggers","i-lucide-scale",{"title":526,"path":527,"stem":528,"icon":434},"Agent Skills","\u002Freference\u002Fagent-skills","7.reference\u002F6.agent-skills",{"title":530,"path":531,"stem":532,"icon":533},"Cost","\u002Freference\u002Fcost","7.reference\u002F7.cost","i-lucide-receipt",{"id":535,"title":536,"body":537,"description":1207,"extension":1208,"links":1209,"meta":1213,"navigation":1214,"path":86,"seo":1215,"stem":87,"__hash__":1216},"docs\u002F3.cli\u002F0.overview.md","evlog CLI",{"type":538,"value":539,"toc":1197},"minimark",[540,552,574,591,652,655,708,716,721,740,744,747,827,831,845,877,891,895,943,963,967,970,1032,1044,1048,1070,1075,1114,1118,1123,1137,1146,1156,1160,1193],[541,542,543,547,548,551],"p",{},[544,545,546],"code",{},"@evlog\u002Fcli"," is a separate package from ",[544,549,550],{},"evlog"," itself. It never runs in your app: it reads your source on disk, so there is nothing to configure and nothing to deploy.",[541,553,554,555,561,562,567,568,573],{},"Its main job is ",[556,557,558],"a",{"href":95},[544,559,560],{},"evlog map"," — a static observability score for your app, in the spirit of Lighthouse. It finds every entry point in your project, checks each one for wide-event coverage, and tells you which three to fix first. Two commands write rather than read: ",[556,563,564],{"href":90},[544,565,566],{},"evlog init"," wires evlog into the app so there is something to score, and ",[556,569,570],{"href":125},[544,571,572],{},"evlog agents"," teaches the AI agents working in the repository how to use it.",[575,576,578,582,583,585,586,590],"warning",{"icon":577},"i-lucide-flask-conical",[579,580,581],"strong",{},"Early days."," The CLI is safe to run on any project — it only reads files, and it is covered by tests — but it is young. ",[544,584,560],{}," understands four frameworks today, its rules are still being refined, and both will grow. Expect verdicts and scores to move between releases, and ",[556,587,589],{"href":588},"\u002Fcli\u002Fci#pin-the-version","pin the version"," when you gate CI on the number.",[592,593,594,622,637],"code-group",{},[595,596,602],"pre",{"className":597,"code":598,"filename":599,"language":600,"meta":601,"style":601},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm dlx @evlog\u002Fcli map\n","pnpm","bash","",[544,603,604],{"__ignoreMap":601},[605,606,609,612,616,619],"span",{"class":607,"line":608},"line",1,[605,610,599],{"class":611},"sBMFI",[605,613,615],{"class":614},"sfazB"," dlx",[605,617,618],{"class":614}," @evlog\u002Fcli",[605,620,621],{"class":614}," map\n",[595,623,626],{"className":597,"code":624,"filename":625,"language":600,"meta":601,"style":601},"bunx @evlog\u002Fcli map\n","bun",[544,627,628],{"__ignoreMap":601},[605,629,630,633,635],{"class":607,"line":608},[605,631,632],{"class":611},"bunx",[605,634,618],{"class":614},[605,636,621],{"class":614},[595,638,641],{"className":597,"code":639,"filename":640,"language":600,"meta":601,"style":601},"npx @evlog\u002Fcli map\n","npm",[544,642,643],{"__ignoreMap":601},[605,644,645,648,650],{"class":607,"line":608},[605,646,647],{"class":611},"npx",[605,649,618],{"class":614},[605,651,621],{"class":614},[541,653,654],{},"Add it as a dev dependency once you gate CI on the score, so every run uses the same version:",[592,656,657,675,691],{},[595,658,660],{"className":597,"code":659,"filename":599,"language":600,"meta":601,"style":601},"pnpm add -D @evlog\u002Fcli\n",[544,661,662],{"__ignoreMap":601},[605,663,664,666,669,672],{"class":607,"line":608},[605,665,599],{"class":611},[605,667,668],{"class":614}," add",[605,670,671],{"class":614}," -D",[605,673,674],{"class":614}," @evlog\u002Fcli\n",[595,676,678],{"className":597,"code":677,"filename":625,"language":600,"meta":601,"style":601},"bun add -d @evlog\u002Fcli\n",[544,679,680],{"__ignoreMap":601},[605,681,682,684,686,689],{"class":607,"line":608},[605,683,625],{"class":611},[605,685,668],{"class":614},[605,687,688],{"class":614}," -d",[605,690,674],{"class":614},[595,692,694],{"className":597,"code":693,"filename":640,"language":600,"meta":601,"style":601},"npm install --save-dev @evlog\u002Fcli\n",[544,695,696],{"__ignoreMap":601},[605,697,698,700,703,706],{"class":607,"line":608},[605,699,640],{"class":611},[605,701,702],{"class":614}," install",[605,704,705],{"class":614}," --save-dev",[605,707,674],{"class":614},[709,710,712,713,715],"callout",{"color":711,"icon":13},"neutral","Requires Node 20 or later. The package installs a single ",[544,714,550],{}," binary.",[717,718,720],"h2",{"id":719},"commands","Commands",[722,723,724,728,731,734,737],"card-group",{},[725,726,727],"card",{"color":711,"icon":92,"title":89,"to":90},"Install evlog, register the framework integration, and write a local sink.",[725,729,730],{"color":711,"icon":127,"title":124,"to":125},"Write the evlog conventions into AGENTS.md and install the agent skills.",[725,732,733],{"color":711,"icon":97,"title":94,"to":95},"Score wide-event coverage across every entry point, and name the ones to fix first.",[725,735,736],{"color":711,"icon":117,"title":114,"to":115},"Check that evlog is installed, resolvable, and writing logs where you expect.",[725,738,739],{"color":711,"icon":122,"title":119,"to":120},"Show, enable, or disable the CLI's own anonymous usage telemetry.",[717,741,743],{"id":742},"global-flags","Global flags",[541,745,746],{},"Every command accepts these:",[748,749,750,763],"table",{},[751,752,753],"thead",{},[754,755,756,760],"tr",{},[757,758,759],"th",{},"Flag",[757,761,762],{},"What it does",[764,765,766,777,787,797,807,817],"tbody",{},[754,767,768,774],{},[769,770,771],"td",{},[544,772,773],{},"--json",[769,775,776],{},"Machine-readable JSON on stdout instead of the report",[754,778,779,784],{},[769,780,781],{},[544,782,783],{},"--debug",[769,785,786],{},"Print a debug summary of the run, and emit it as a wide event",[754,788,789,794],{},[769,790,791],{},[544,792,793],{},"--noHeader",[769,795,796],{},"Skip the branded header",[754,798,799,804],{},[769,800,801],{},[544,802,803],{},"--cwd \u003Cdir>",[769,805,806],{},"Run against another directory instead of the current one",[754,808,809,814],{},[769,810,811],{},[544,812,813],{},"--help",[769,815,816],{},"Usage for the command",[754,818,819,824],{},[769,820,821],{},[544,822,823],{},"--version",[769,825,826],{},"Print the CLI version and exit",[717,828,830],{"id":829},"human-output-goes-to-stderr","Human output goes to stderr",[541,832,833,834,837,838,840,841,844],{},"The report you read is written to ",[579,835,836],{},"stderr",". Stdout is reserved for ",[544,839,773],{},", so a run can be piped into ",[544,842,843],{},"jq"," without the report getting in the way:",[595,846,849],{"className":597,"code":847,"filename":848,"language":600,"meta":601,"style":601},"evlog map --json | jq '.map.score'\n","Terminal",[544,850,851],{"__ignoreMap":601},[605,852,853,855,858,861,865,868,871,874],{"class":607,"line":608},[605,854,550],{"class":611},[605,856,857],{"class":614}," map",[605,859,860],{"class":614}," --json",[605,862,864],{"class":863},"sMK4o"," |",[605,866,867],{"class":611}," jq",[605,869,870],{"class":863}," '",[605,872,873],{"class":614},".map.score",[605,875,876],{"class":863},"'\n",[541,878,879,880,882,883,886,887,890],{},"Without ",[544,881,773],{},", nothing is written to stdout at all. Colour is dropped when stdout is not a TTY or when ",[544,884,885],{},"NO_COLOR"," is set, and the report lays itself out for the width it is given — set ",[544,888,889],{},"COLUMNS"," to render at a fixed width.",[717,892,894],{"id":893},"exit-codes","Exit codes",[748,896,897,907],{},[751,898,899],{},[754,900,901,904],{},[757,902,903],{},"Code",[757,905,906],{},"Meaning",[764,908,909,919,933],{},[754,910,911,916],{},[769,912,913],{},[544,914,915],{},"0",[769,917,918],{},"The command ran and nothing failed",[754,920,921,926],{},[769,922,923],{},[544,924,925],{},"1",[769,927,928,929,932],{},"A check failed, or ",[544,930,931],{},"--min-score"," was not met",[754,934,935,940],{},[769,936,937],{},[544,938,939],{},"2",[769,941,942],{},"Usage error — an unknown flag or an invalid value",[575,944,945,946,949,950,954,955,958,959,962],{},"A pipe replaces ",[544,947,948],{},"$?"," with the exit code of the ",[951,952,953],"em",{},"last"," command in it, so ",[544,956,957],{},"evlog map --min-score 90 \\| head"," always looks successful. Use ",[544,960,961],{},"set -o pipefail"," when you pipe a gated run.",[717,964,966],{"id":965},"when-a-check-is-wrong","When a check is wrong",[541,968,969],{},"Every verdict can be turned off from the code it is about, so a false positive never becomes a reason to stop running the tool:",[595,971,976],{"className":972,"code":973,"filename":974,"language":975,"meta":601,"style":601},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F evlog-map-disable-next-line wide-event, context -- liveness probe, deliberately silent\nexport default defineEventHandler(() => ({ ok: true }))\n","server\u002Fapi\u002Fhealth.get.ts","ts",[544,977,978,984],{"__ignoreMap":601},[605,979,980],{"class":607,"line":608},[605,981,983],{"class":982},"sHwdD","\u002F\u002F evlog-map-disable-next-line wide-event, context -- liveness probe, deliberately silent\n",[605,985,987,991,994,998,1002,1005,1009,1012,1015,1019,1022,1026,1029],{"class":607,"line":986},2,[605,988,990],{"class":989},"s7zQu","export",[605,992,993],{"class":989}," default",[605,995,997],{"class":996},"s2Zo4"," defineEventHandler",[605,999,1001],{"class":1000},"sTEyZ","(",[605,1003,1004],{"class":863},"()",[605,1006,1008],{"class":1007},"spNyl"," =>",[605,1010,1011],{"class":1000}," (",[605,1013,1014],{"class":863},"{",[605,1016,1018],{"class":1017},"swJcz"," ok",[605,1020,1021],{"class":863},":",[605,1023,1025],{"class":1024},"sfNiH"," true",[605,1027,1028],{"class":863}," }",[605,1030,1031],{"class":1000},"))\n",[541,1033,1034,1035,1038,1039,1043],{},"The check becomes ",[544,1036,1037],{},"n\u002Fa"," with your reason attached — no score cost, no failed gate — and the report counts how many checks the project disabled, so the number stays honest. ",[556,1040,1042],{"href":1041},"\u002Fcli\u002Frules#disabling-a-check","Full syntax",".",[717,1045,1047],{"id":1046},"monorepos","Monorepos",[541,1049,1050,1052,1053,1055,1056,1058,1059,1062,1063,1066,1067,1069],{},[544,1051,89],{},", ",[544,1054,94],{}," and ",[544,1057,114],{}," all resolve the nearest ",[544,1060,1061],{},"package.json"," above the working directory, then treat that package as the project. In a pnpm or npm workspace, running from ",[544,1064,1065],{},"apps\u002Fweb"," scans ",[544,1068,1065],{}," — not the repo root.",[541,1071,1072,1074],{},[544,1073,560],{}," scans one app at a time. Running it from a bare workspace root, where there is no framework to detect, is an error rather than an empty report:",[595,1076,1078],{"className":597,"code":1077,"filename":848,"language":600,"meta":601,"style":601},"cd apps\u002Fweb && evlog map\n# or\nevlog map --cwd apps\u002Fweb\n",[544,1079,1080,1096,1101],{"__ignoreMap":601},[605,1081,1082,1085,1088,1091,1094],{"class":607,"line":608},[605,1083,1084],{"class":996},"cd",[605,1086,1087],{"class":614}," apps\u002Fweb",[605,1089,1090],{"class":863}," &&",[605,1092,1093],{"class":611}," evlog",[605,1095,621],{"class":614},[605,1097,1098],{"class":607,"line":986},[605,1099,1100],{"class":982},"# or\n",[605,1102,1104,1106,1108,1111],{"class":607,"line":1103},3,[605,1105,550],{"class":611},[605,1107,857],{"class":614},[605,1109,1110],{"class":614}," --cwd",[605,1112,1113],{"class":614}," apps\u002Fweb\n",[717,1115,1117],{"id":1116},"debugging-a-run","Debugging a run",[541,1119,1120,1122],{},[544,1121,783],{}," prints what the command did — the steps it went through, the directory it resolved, and any findings — and emits the same information as an evlog wide event:",[595,1124,1126],{"className":597,"code":1125,"filename":848,"language":600,"meta":601,"style":601},"evlog map --debug\n",[544,1127,1128],{"__ignoreMap":601},[605,1129,1130,1132,1134],{"class":607,"line":608},[605,1131,550],{"class":611},[605,1133,857],{"class":614},[605,1135,1136],{"class":614}," --debug\n",[595,1138,1144],{"className":1139,"code":1141,"filename":1142,"language":1143,"meta":601},[1140],"language-text","── debug ────────────────────────────────\ncommand  map\nenv      development\ncwd      \u002FUsers\u002Fyou\u002Fapps\u002Fweb\nsteps    resolveProject → detectFramework → resolveEvlog → scan → writeMapFile → done\n──────────────────────────────────────────\nfull event → --json --debug  (stderr)\n","Output","text",[544,1145,1141],{"__ignoreMap":601},[541,1147,1148,1149,1151,1152,1155],{},"Add ",[544,1150,773],{}," to get the whole event instead of the summary. ",[544,1153,1154],{},"EVLOG_CLI_DEBUG=1"," does the same as the flag, which is useful in a CI job you cannot easily edit.",[717,1157,1159],{"id":1158},"next","Next",[1161,1162,1163,1171,1178,1183,1188],"ul",{},[1164,1165,1166,1170],"li",{},[556,1167,1168],{"href":90},[544,1169,566],{}," — wire evlog into an app that does not have it yet",[1164,1172,1173,1177],{},[556,1174,1175],{"href":95},[544,1176,560],{}," — what it scans and how to read the report",[1164,1179,1180,1182],{},[556,1181,99],{"href":100}," — every check, what satisfies it, and how to fix it",[1164,1184,1185,1187],{},[556,1186,104],{"href":105}," — how the number is calculated",[1164,1189,1190,1192],{},[556,1191,109],{"href":110}," — gate a pull request on the score",[1194,1195,1196],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":601,"searchDepth":986,"depth":986,"links":1198},[1199,1200,1201,1202,1203,1204,1205,1206],{"id":719,"depth":986,"text":720},{"id":742,"depth":986,"text":743},{"id":829,"depth":986,"text":830},{"id":893,"depth":986,"text":894},{"id":965,"depth":986,"text":966},{"id":1046,"depth":986,"text":1047},{"id":1116,"depth":986,"text":1117},{"id":1158,"depth":986,"text":1159},"The evlog command line — map your app's observability coverage, diagnose your setup, and control telemetry. Install, global flags, output streams, exit codes, and monorepo behaviour.","md",[1210,1212],{"label":560,"icon":97,"to":95,"color":711,"variant":1211},"subtle",{"label":99,"icon":102,"to":100,"color":711,"variant":1211},{},{"title":36,"icon":44},{"title":536,"description":1207},"w7VEZktFz-4c-mX2ACJGPb5WH1YkpUMgxxinmHBqRuY",[1218,1220],{"title":76,"path":77,"stem":78,"description":1219,"icon":79,"children":-1},"Scale typed error and audit catalogs from a single file to multi-package monorepos. Conventions, npm packaging recipe, composition patterns, and the type-augmentation deep dive.",{"title":89,"path":90,"stem":91,"description":1221,"icon":92,"children":-1},"Wire evlog into an existing app — an interactive setup that installs the package, registers the framework integration, and wires the destination you pick. Fully driveable by flags for CI and agents.",1786743648981]