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