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