[{"data":1,"prerenderedAt":1226},["ShallowReactive",2],{"navigation_docs":3,"-cli-overview":538,"-cli-overview-surround":1221},[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,507,512,515,520,524,529,533],{"title":36,"path":504,"stem":505,"icon":506},"\u002Freference\u002Foverview","7.reference\u002F0.overview","i-lucide-book-marked",{"title":508,"path":509,"stem":510,"icon":511},"Configuration","\u002Freference\u002Fconfiguration","7.reference\u002F1.configuration","i-lucide-settings",{"title":374,"path":513,"stem":514,"icon":107},"\u002Freference\u002Fperformance","7.reference\u002F2.performance",{"title":516,"path":517,"stem":518,"icon":519},"Vite Plugin","\u002Freference\u002Fvite-plugin","7.reference\u002F3.vite-plugin","i-custom-vite",{"title":521,"path":522,"stem":523,"icon":379},"Best Practices","\u002Freference\u002Fbest-practices","7.reference\u002F4.best-practices",{"title":525,"path":526,"stem":527,"icon":528},"vs Other Loggers","\u002Freference\u002Fvs-other-loggers","7.reference\u002F5.vs-other-loggers","i-lucide-scale",{"title":530,"path":531,"stem":532,"icon":434},"Agent Skills","\u002Freference\u002Fagent-skills","7.reference\u002F6.agent-skills",{"title":534,"path":535,"stem":536,"icon":537},"Cost","\u002Freference\u002Fcost","7.reference\u002F7.cost","i-lucide-receipt",{"id":539,"title":540,"body":541,"description":1211,"extension":1212,"links":1213,"meta":1217,"navigation":1218,"path":86,"seo":1219,"stem":87,"__hash__":1220},"docs\u002F3.cli\u002F0.overview.md","evlog CLI",{"type":542,"value":543,"toc":1201},"minimark",[544,556,578,595,656,659,712,720,725,744,748,751,831,835,849,881,895,899,947,967,971,974,1036,1048,1052,1074,1079,1118,1122,1127,1141,1150,1160,1164,1197],[545,546,547,551,552,555],"p",{},[548,549,550],"code",{},"@evlog\u002Fcli"," is a separate package from ",[548,553,554],{},"evlog"," itself. It never runs in your app: it reads your source on disk, so there is nothing to configure and nothing to deploy.",[545,557,558,559,565,566,571,572,577],{},"Its main job is ",[560,561,562],"a",{"href":95},[548,563,564],{},"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: ",[560,567,568],{"href":90},[548,569,570],{},"evlog init"," wires evlog into the app so there is something to score, and ",[560,573,574],{"href":125},[548,575,576],{},"evlog agents"," teaches the AI agents working in the repository how to use it.",[579,580,582,586,587,589,590,594],"warning",{"icon":581},"i-lucide-flask-conical",[583,584,585],"strong",{},"Early days."," The CLI is safe to run on any project, since it only reads files and is covered by tests, but it is young. ",[548,588,564],{}," understands four frameworks today, its rules are still being refined, and both will grow. Expect verdicts and scores to move between releases, and ",[560,591,593],{"href":592},"\u002Fcli\u002Fci#pin-the-version","pin the version"," when you gate CI on the number.",[596,597,598,626,641],"code-group",{},[599,600,606],"pre",{"className":601,"code":602,"filename":603,"language":604,"meta":605,"style":605},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm dlx @evlog\u002Fcli map\n","pnpm","bash","",[548,607,608],{"__ignoreMap":605},[609,610,613,616,620,623],"span",{"class":611,"line":612},"line",1,[609,614,603],{"class":615},"sBMFI",[609,617,619],{"class":618},"sfazB"," dlx",[609,621,622],{"class":618}," @evlog\u002Fcli",[609,624,625],{"class":618}," map\n",[599,627,630],{"className":601,"code":628,"filename":629,"language":604,"meta":605,"style":605},"bunx @evlog\u002Fcli map\n","bun",[548,631,632],{"__ignoreMap":605},[609,633,634,637,639],{"class":611,"line":612},[609,635,636],{"class":615},"bunx",[609,638,622],{"class":618},[609,640,625],{"class":618},[599,642,645],{"className":601,"code":643,"filename":644,"language":604,"meta":605,"style":605},"npx @evlog\u002Fcli map\n","npm",[548,646,647],{"__ignoreMap":605},[609,648,649,652,654],{"class":611,"line":612},[609,650,651],{"class":615},"npx",[609,653,622],{"class":618},[609,655,625],{"class":618},[545,657,658],{},"Add it as a dev dependency once you gate CI on the score, so every run uses the same version:",[596,660,661,679,695],{},[599,662,664],{"className":601,"code":663,"filename":603,"language":604,"meta":605,"style":605},"pnpm add -D @evlog\u002Fcli\n",[548,665,666],{"__ignoreMap":605},[609,667,668,670,673,676],{"class":611,"line":612},[609,669,603],{"class":615},[609,671,672],{"class":618}," add",[609,674,675],{"class":618}," -D",[609,677,678],{"class":618}," @evlog\u002Fcli\n",[599,680,682],{"className":601,"code":681,"filename":629,"language":604,"meta":605,"style":605},"bun add -d @evlog\u002Fcli\n",[548,683,684],{"__ignoreMap":605},[609,685,686,688,690,693],{"class":611,"line":612},[609,687,629],{"class":615},[609,689,672],{"class":618},[609,691,692],{"class":618}," -d",[609,694,678],{"class":618},[599,696,698],{"className":601,"code":697,"filename":644,"language":604,"meta":605,"style":605},"npm install --save-dev @evlog\u002Fcli\n",[548,699,700],{"__ignoreMap":605},[609,701,702,704,707,710],{"class":611,"line":612},[609,703,644],{"class":615},[609,705,706],{"class":618}," install",[609,708,709],{"class":618}," --save-dev",[609,711,678],{"class":618},[713,714,716,717,719],"callout",{"color":715,"icon":13},"neutral","Requires Node 20 or later. The package installs a single ",[548,718,554],{}," binary.",[721,722,724],"h2",{"id":723},"commands","Commands",[726,727,728,732,735,738,741],"card-group",{},[729,730,731],"card",{"color":715,"icon":92,"title":89,"to":90},"Install evlog, register the framework integration, and write a local drain.",[729,733,734],{"color":715,"icon":127,"title":124,"to":125},"Write the evlog conventions into AGENTS.md and install the agent skills.",[729,736,737],{"color":715,"icon":97,"title":94,"to":95},"Score wide-event coverage across every entry point, and name the ones to fix first.",[729,739,740],{"color":715,"icon":117,"title":114,"to":115},"Check that evlog is installed, resolvable, and writing logs where you expect.",[729,742,743],{"color":715,"icon":122,"title":119,"to":120},"Show, enable, or disable the CLI's own anonymous usage telemetry.",[721,745,747],{"id":746},"global-flags","Global flags",[545,749,750],{},"Every command accepts these:",[752,753,754,767],"table",{},[755,756,757],"thead",{},[758,759,760,764],"tr",{},[761,762,763],"th",{},"Flag",[761,765,766],{},"What it does",[768,769,770,781,791,801,811,821],"tbody",{},[758,771,772,778],{},[773,774,775],"td",{},[548,776,777],{},"--json",[773,779,780],{},"Machine-readable JSON on stdout instead of the report",[758,782,783,788],{},[773,784,785],{},[548,786,787],{},"--debug",[773,789,790],{},"Print a debug summary of the run, and emit it as a wide event",[758,792,793,798],{},[773,794,795],{},[548,796,797],{},"--noHeader",[773,799,800],{},"Skip the branded header",[758,802,803,808],{},[773,804,805],{},[548,806,807],{},"--cwd \u003Cdir>",[773,809,810],{},"Run against another directory instead of the current one",[758,812,813,818],{},[773,814,815],{},[548,816,817],{},"--help",[773,819,820],{},"Usage for the command",[758,822,823,828],{},[773,824,825],{},[548,826,827],{},"--version",[773,829,830],{},"Print the CLI version and exit",[721,832,834],{"id":833},"human-output-goes-to-stderr","Human output goes to stderr",[545,836,837,838,841,842,844,845,848],{},"The report you read is written to ",[583,839,840],{},"stderr",". Stdout is reserved for ",[548,843,777],{},", so a run can be piped into ",[548,846,847],{},"jq"," without the report getting in the way:",[599,850,853],{"className":601,"code":851,"filename":852,"language":604,"meta":605,"style":605},"evlog map --json | jq '.map.score'\n","Terminal",[548,854,855],{"__ignoreMap":605},[609,856,857,859,862,865,869,872,875,878],{"class":611,"line":612},[609,858,554],{"class":615},[609,860,861],{"class":618}," map",[609,863,864],{"class":618}," --json",[609,866,868],{"class":867},"sMK4o"," |",[609,870,871],{"class":615}," jq",[609,873,874],{"class":867}," '",[609,876,877],{"class":618},".map.score",[609,879,880],{"class":867},"'\n",[545,882,883,884,886,887,890,891,894],{},"Without ",[548,885,777],{},", nothing is written to stdout at all. Colour is dropped when stdout is not a TTY or when ",[548,888,889],{},"NO_COLOR"," is set, and the report lays itself out for the width it is given, so set ",[548,892,893],{},"COLUMNS"," to render at a fixed width.",[721,896,898],{"id":897},"exit-codes","Exit codes",[752,900,901,911],{},[755,902,903],{},[758,904,905,908],{},[761,906,907],{},"Code",[761,909,910],{},"Meaning",[768,912,913,923,937],{},[758,914,915,920],{},[773,916,917],{},[548,918,919],{},"0",[773,921,922],{},"The command ran and nothing failed",[758,924,925,930],{},[773,926,927],{},[548,928,929],{},"1",[773,931,932,933,936],{},"A check failed, or ",[548,934,935],{},"--min-score"," was not met",[758,938,939,944],{},[773,940,941],{},[548,942,943],{},"2",[773,945,946],{},"Usage error — an unknown flag or an invalid value",[579,948,949,950,953,954,958,959,962,963,966],{},"A pipe replaces ",[548,951,952],{},"$?"," with the exit code of the ",[955,956,957],"em",{},"last"," command in it, so ",[548,960,961],{},"evlog map --min-score 90 \\| head"," always looks successful. Use ",[548,964,965],{},"set -o pipefail"," when you pipe a gated run.",[721,968,970],{"id":969},"when-a-check-is-wrong","When a check is wrong",[545,972,973],{},"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:",[599,975,980],{"className":976,"code":977,"filename":978,"language":979,"meta":605,"style":605},"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",[548,981,982,988],{"__ignoreMap":605},[609,983,984],{"class":611,"line":612},[609,985,987],{"class":986},"sHwdD","\u002F\u002F evlog-map-disable-next-line wide-event, context -- liveness probe, deliberately silent\n",[609,989,991,995,998,1002,1006,1009,1013,1016,1019,1023,1026,1030,1033],{"class":611,"line":990},2,[609,992,994],{"class":993},"s7zQu","export",[609,996,997],{"class":993}," default",[609,999,1001],{"class":1000},"s2Zo4"," defineEventHandler",[609,1003,1005],{"class":1004},"sTEyZ","(",[609,1007,1008],{"class":867},"()",[609,1010,1012],{"class":1011},"spNyl"," =>",[609,1014,1015],{"class":1004}," (",[609,1017,1018],{"class":867},"{",[609,1020,1022],{"class":1021},"swJcz"," ok",[609,1024,1025],{"class":867},":",[609,1027,1029],{"class":1028},"sfNiH"," true",[609,1031,1032],{"class":867}," }",[609,1034,1035],{"class":1004},"))\n",[545,1037,1038,1039,1042,1043,1047],{},"The check becomes ",[548,1040,1041],{},"n\u002Fa"," with your reason attached, at no score cost and with no failed gate, and the report counts how many checks the project disabled, so the number stays honest. ",[560,1044,1046],{"href":1045},"\u002Fcli\u002Frules#disabling-a-check","Full syntax",".",[721,1049,1051],{"id":1050},"monorepos","Monorepos",[545,1053,1054,1056,1057,1059,1060,1062,1063,1066,1067,1070,1071,1073],{},[548,1055,89],{},", ",[548,1058,94],{}," and ",[548,1061,114],{}," all resolve the nearest ",[548,1064,1065],{},"package.json"," above the working directory, then treat that package as the project. In a pnpm or npm workspace, running from ",[548,1068,1069],{},"apps\u002Fweb"," scans ",[548,1072,1069],{},", not the repo root.",[545,1075,1076,1078],{},[548,1077,564],{}," 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:",[599,1080,1082],{"className":601,"code":1081,"filename":852,"language":604,"meta":605,"style":605},"cd apps\u002Fweb && evlog map\n# or\nevlog map --cwd apps\u002Fweb\n",[548,1083,1084,1100,1105],{"__ignoreMap":605},[609,1085,1086,1089,1092,1095,1098],{"class":611,"line":612},[609,1087,1088],{"class":1000},"cd",[609,1090,1091],{"class":618}," apps\u002Fweb",[609,1093,1094],{"class":867}," &&",[609,1096,1097],{"class":615}," evlog",[609,1099,625],{"class":618},[609,1101,1102],{"class":611,"line":990},[609,1103,1104],{"class":986},"# or\n",[609,1106,1108,1110,1112,1115],{"class":611,"line":1107},3,[609,1109,554],{"class":615},[609,1111,861],{"class":618},[609,1113,1114],{"class":618}," --cwd",[609,1116,1117],{"class":618}," apps\u002Fweb\n",[721,1119,1121],{"id":1120},"debugging-a-run","Debugging a run",[545,1123,1124,1126],{},[548,1125,787],{}," 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:",[599,1128,1130],{"className":601,"code":1129,"filename":852,"language":604,"meta":605,"style":605},"evlog map --debug\n",[548,1131,1132],{"__ignoreMap":605},[609,1133,1134,1136,1138],{"class":611,"line":612},[609,1135,554],{"class":615},[609,1137,861],{"class":618},[609,1139,1140],{"class":618}," --debug\n",[599,1142,1148],{"className":1143,"code":1145,"filename":1146,"language":1147,"meta":605},[1144],"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",[548,1149,1145],{"__ignoreMap":605},[545,1151,1152,1153,1155,1156,1159],{},"Add ",[548,1154,777],{}," to get the whole event instead of the summary. ",[548,1157,1158],{},"EVLOG_CLI_DEBUG=1"," does the same as the flag, which is useful in a CI job you cannot easily edit.",[721,1161,1163],{"id":1162},"next","Next",[1165,1166,1167,1175,1182,1187,1192],"ul",{},[1168,1169,1170,1174],"li",{},[560,1171,1172],{"href":90},[548,1173,570],{},": wire evlog into an app that does not have it yet",[1168,1176,1177,1181],{},[560,1178,1179],{"href":95},[548,1180,564],{},": what it scans and how to read the report",[1168,1183,1184,1186],{},[560,1185,99],{"href":100},": every check, what satisfies it, and how to fix it",[1168,1188,1189,1191],{},[560,1190,104],{"href":105},": how the number is calculated",[1168,1193,1194,1196],{},[560,1195,109],{"href":110},": gate a pull request on the score",[1198,1199,1200],"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":605,"searchDepth":990,"depth":990,"links":1202},[1203,1204,1205,1206,1207,1208,1209,1210],{"id":723,"depth":990,"text":724},{"id":746,"depth":990,"text":747},{"id":833,"depth":990,"text":834},{"id":897,"depth":990,"text":898},{"id":969,"depth":990,"text":970},{"id":1050,"depth":990,"text":1051},{"id":1120,"depth":990,"text":1121},{"id":1162,"depth":990,"text":1163},"The evlog command line: map your observability coverage, diagnose your setup, control telemetry. Flags, output streams, and exit codes.","md",[1214,1216],{"label":564,"icon":97,"to":95,"color":715,"variant":1215},"subtle",{"label":99,"icon":102,"to":100,"color":715,"variant":1215},{},{"title":36,"icon":44},{"title":540,"description":1211},"QxMsbrZ7-rOu3B_H9yiAy2Drq2UdH4HsdFxiM9wWX-U",[1222,1224],{"title":76,"path":77,"stem":78,"description":1223,"icon":79,"children":-1},"Scale typed error and audit catalogs from one file to a monorepo: conventions, an npm packaging recipe, and type augmentation.",{"title":89,"path":90,"stem":91,"description":1225,"icon":92,"children":-1},"Wire evlog into an existing app. Interactive setup that installs the package, registers the integration, and wires the destination you pick.",1786817420014]