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