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