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