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