[{"data":1,"prerenderedAt":1309},["ShallowReactive",2],{"navigation_docs":3,"-cli-overview":602,"-cli-overview-surround":1304},[4,35,85,138,318,479,538,577],{"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,453],{"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,"icon":455,"path":456,"stem":457,"children":458,"page":34},"Signals","i-lucide-scan-search","\u002Fuse-cases\u002Fsignals","5.use-cases\u002F7.signals",[459,462,467,472,475],{"title":41,"path":460,"stem":461,"icon":44},"\u002Fuse-cases\u002Fsignals\u002Foverview","5.use-cases\u002F7.signals\u002F01.overview",{"title":463,"path":464,"stem":465,"icon":466},"What You Can Ask","\u002Fuse-cases\u002Fsignals\u002Fask","5.use-cases\u002F7.signals\u002F02.ask","i-lucide-message-circle-question",{"title":468,"path":469,"stem":470,"icon":471},"What It Costs","\u002Fuse-cases\u002Fsignals\u002Fcost","5.use-cases\u002F7.signals\u002F03.cost","i-lucide-coins",{"title":436,"path":473,"stem":474,"icon":84},"\u002Fuse-cases\u002Fsignals\u002Freference","5.use-cases\u002F7.signals\u002F04.reference",{"title":415,"path":476,"stem":477,"icon":478},"\u002Fuse-cases\u002Fsignals\u002Frecipes","5.use-cases\u002F7.signals\u002F05.recipes","i-lucide-lightbulb",{"title":480,"path":481,"stem":482,"children":483,"page":34},"Extend","\u002Fextend","6.extend",[484,488,493,498,502,507,511,515,519,523,528,533],{"title":41,"path":485,"stem":486,"icon":487},"\u002Fextend\u002Foverview","6.extend\u002F0.overview","i-lucide-blocks",{"title":489,"path":490,"stem":491,"icon":492},"Stream","\u002Fextend\u002Fstream","6.extend\u002F1.stream","i-lucide-radio-tower",{"title":494,"path":495,"stem":496,"icon":497},"Custom framework","\u002Fextend\u002Fcustom-framework","6.extend\u002F10.custom-framework","i-lucide-puzzle",{"title":499,"path":500,"stem":501,"icon":492},"Diagnostics channel","\u002Fextend\u002Fdiagnostics-channel","6.extend\u002F11.diagnostics-channel",{"title":503,"path":504,"stem":505,"icon":506},"FS reader","\u002Fextend\u002Ffs-reader","6.extend\u002F2.fs-reader","i-lucide-folder-search",{"title":415,"path":508,"stem":509,"icon":510},"\u002Fextend\u002Fconsumer-recipes","6.extend\u002F3.consumer-recipes","i-lucide-chef-hat",{"title":512,"path":513,"stem":514,"icon":487},"Plugins","\u002Fextend\u002Fplugins","6.extend\u002F4.plugins",{"title":516,"path":517,"stem":518,"icon":443},"Custom enrichers","\u002Fextend\u002Fcustom-enrichers","6.extend\u002F5.custom-enrichers",{"title":520,"path":521,"stem":522,"icon":69},"Tail sampling","\u002Fextend\u002Ftail-sampling","6.extend\u002F6.tail-sampling",{"title":524,"path":525,"stem":526,"icon":527},"Identity headers","\u002Fextend\u002Fidentity-headers","6.extend\u002F7.identity-headers","i-lucide-fingerprint",{"title":529,"path":530,"stem":531,"icon":532},"Custom drains","\u002Fextend\u002Fcustom-drains","6.extend\u002F8.custom-drains","i-lucide-share-2",{"title":534,"path":535,"stem":536,"icon":537},"Drain pipeline","\u002Fextend\u002Fdrain-pipeline","6.extend\u002F9.drain-pipeline","i-lucide-workflow",{"title":436,"path":539,"stem":540,"children":541,"page":34},"\u002Freference","7.reference",[542,546,551,554,559,563,568,572],{"title":41,"path":543,"stem":544,"icon":545},"\u002Freference\u002Foverview","7.reference\u002F0.overview","i-lucide-book-marked",{"title":547,"path":548,"stem":549,"icon":550},"Configuration","\u002Freference\u002Fconfiguration","7.reference\u002F1.configuration","i-lucide-settings",{"title":383,"path":552,"stem":553,"icon":112},"\u002Freference\u002Fperformance","7.reference\u002F2.performance",{"title":555,"path":556,"stem":557,"icon":558},"Vite Plugin","\u002Freference\u002Fvite-plugin","7.reference\u002F3.vite-plugin","i-custom-vite",{"title":560,"path":561,"stem":562,"icon":388},"Best Practices","\u002Freference\u002Fbest-practices","7.reference\u002F4.best-practices",{"title":564,"path":565,"stem":566,"icon":567},"vs Other Loggers","\u002Freference\u002Fvs-other-loggers","7.reference\u002F5.vs-other-loggers","i-lucide-scale",{"title":569,"path":570,"stem":571,"icon":443},"Agent Skills","\u002Freference\u002Fagent-skills","7.reference\u002F6.agent-skills",{"title":573,"path":574,"stem":575,"icon":576},"Cost","\u002Freference\u002Fcost","7.reference\u002F7.cost","i-lucide-receipt",{"title":578,"path":579,"stem":580,"children":581,"page":34},"Compare","\u002Fcompare","8.compare",[582,586,590,594,598],{"title":583,"path":584,"stem":585,"icon":567},"evlog vs Pino","\u002Fcompare\u002Fpino","8.compare\u002F1.pino",{"title":587,"path":588,"stem":589,"icon":204},"evlog vs OpenTelemetry","\u002Fcompare\u002Fopentelemetry","8.compare\u002F2.opentelemetry",{"title":591,"path":592,"stem":593,"icon":567},"evlog vs LogTape","\u002Fcompare\u002Flogtape","8.compare\u002F3.logtape",{"title":595,"path":596,"stem":597,"icon":567},"evlog vs Winston: formats and request events","\u002Fcompare\u002Fwinston","8.compare\u002F4.winston",{"title":599,"path":600,"stem":601,"icon":567},"evlog vs Consola: reporters and request context","\u002Fcompare\u002Fconsola","8.compare\u002F5.consola",{"id":603,"title":604,"body":605,"description":1294,"extension":1295,"links":1296,"meta":1300,"navigation":1301,"path":91,"seo":1302,"stem":92,"__hash__":1303},"docs\u002F3.cli\u002F0.overview.md","evlog CLI",{"type":606,"value":607,"toc":1284},"minimark",[608,620,638,652,669,727,746,799,804,809,828,832,835,915,919,933,965,979,983,1031,1051,1055,1058,1120,1132,1136,1158,1163,1201,1205,1210,1224,1233,1243,1247,1280],[609,610,611,612,616,617,619],"p",{},"The ",[613,614,615],"code",{},"evlog"," executable ships with the ",[613,618,615],{}," package. It runs separately from your application: use it locally or in CI to inspect your source, configure evlog, and work with telemetry.",[609,621,622,623,629,630,633,634,637],{},"Start with ",[624,625,626],"a",{"href":100},[613,627,628],{},"evlog map"," to check supported entry points for evlog logging patterns and get a static observability score with suggested fixes. It writes ",[613,631,632],{},"evlog.map.json"," unless you pass ",[613,635,636],{},"--no-write",". The score describes recognized source patterns, not the logs your handlers produce in production.",[609,639,640,645,646,651],{},[624,641,642],{"href":95},[613,643,644],{},"evlog init"," adds evlog configuration to the app. ",[624,647,648],{"href":130},[613,649,650],{},"evlog agents"," writes logging conventions for the AI agents working in the repository.",[653,654,656,660,661,663,664,668],"warning",{"icon":655},"i-lucide-flask-conical",[657,658,659],"strong",{},"Early days."," ",[613,662,628],{}," 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 ",[624,665,667],{"href":666},"\u002Fcli\u002Fci#pin-the-version","pin the version"," when you gate CI on the number.",[670,671,672,697,712],"code-group",{},[673,674,680],"pre",{"className":675,"code":676,"filename":677,"language":678,"meta":679,"style":679},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm evlog map\n","pnpm","bash","",[613,681,682],{"__ignoreMap":679},[683,684,687,690,694],"span",{"class":685,"line":686},"line",1,[683,688,677],{"class":689},"sBMFI",[683,691,693],{"class":692},"sfazB"," evlog",[683,695,696],{"class":692}," map\n",[673,698,701],{"className":675,"code":699,"filename":700,"language":678,"meta":679,"style":679},"bunx evlog map\n","bun",[613,702,703],{"__ignoreMap":679},[683,704,705,708,710],{"class":685,"line":686},[683,706,707],{"class":689},"bunx",[683,709,693],{"class":692},[683,711,696],{"class":692},[673,713,716],{"className":675,"code":714,"filename":715,"language":678,"meta":679,"style":679},"npx evlog map\n","npm",[613,717,718],{"__ignoreMap":679},[683,719,720,723,725],{"class":685,"line":686},[683,721,722],{"class":689},"npx",[683,724,693],{"class":692},[683,726,696],{"class":692},[609,728,729,730,738,739,741,742,745],{},"The executable runs ",[624,731,735],{"href":732,"rel":733},"https:\u002F\u002Fnpmjs.com\u002Fpackage\u002F@evlog\u002Fcli",[734],"nofollow",[613,736,737],{},"@evlog\u002Fcli"," when it is installed and otherwise fetches it with the package manager that launched it, so ",[613,740,615],{}," adds no dependency to your project and ",[613,743,744],{},"npx evlog init"," works on a project that has nothing yet. Install the CLI for a pinned, instant run, which is what CI wants:",[670,747,748,766,782],{},[673,749,751],{"className":675,"code":750,"filename":677,"language":678,"meta":679,"style":679},"pnpm add -D @evlog\u002Fcli\n",[613,752,753],{"__ignoreMap":679},[683,754,755,757,760,763],{"class":685,"line":686},[683,756,677],{"class":689},[683,758,759],{"class":692}," add",[683,761,762],{"class":692}," -D",[683,764,765],{"class":692}," @evlog\u002Fcli\n",[673,767,769],{"className":675,"code":768,"filename":700,"language":678,"meta":679,"style":679},"bun add -d @evlog\u002Fcli\n",[613,770,771],{"__ignoreMap":679},[683,772,773,775,777,780],{"class":685,"line":686},[683,774,700],{"class":689},[683,776,759],{"class":692},[683,778,779],{"class":692}," -d",[683,781,765],{"class":692},[673,783,785],{"className":675,"code":784,"filename":715,"language":678,"meta":679,"style":679},"npm install --save-dev @evlog\u002Fcli\n",[613,786,787],{"__ignoreMap":679},[683,788,789,791,794,797],{"class":685,"line":686},[683,790,715],{"class":689},[683,792,793],{"class":692}," install",[683,795,796],{"class":692}," --save-dev",[683,798,765],{"class":692},[800,801,803],"callout",{"color":802,"icon":13},"neutral","The CLI requires Node 20 or later.",[805,806,808],"h2",{"id":807},"commands","Commands",[810,811,812,816,819,822,825],"card-group",{},[813,814,815],"card",{"color":802,"icon":97,"title":94,"to":95},"Install evlog, register the framework integration, and write a local drain.",[813,817,818],{"color":802,"icon":132,"title":129,"to":130},"Write the evlog conventions into AGENTS.md and install the agent skills.",[813,820,821],{"color":802,"icon":102,"title":99,"to":100},"Score wide-event coverage across every entry point, and name the ones to fix first.",[813,823,824],{"color":802,"icon":122,"title":119,"to":120},"Check that evlog is installed, resolvable, and writing logs where you expect.",[813,826,827],{"color":802,"icon":127,"title":124,"to":125},"Show, enable, or disable the CLI's own anonymous usage telemetry.",[805,829,831],{"id":830},"global-flags","Global flags",[609,833,834],{},"Every command accepts these:",[836,837,838,851],"table",{},[839,840,841],"thead",{},[842,843,844,848],"tr",{},[845,846,847],"th",{},"Flag",[845,849,850],{},"What it does",[852,853,854,865,875,885,895,905],"tbody",{},[842,855,856,862],{},[857,858,859],"td",{},[613,860,861],{},"--json",[857,863,864],{},"Machine-readable JSON on stdout instead of the report",[842,866,867,872],{},[857,868,869],{},[613,870,871],{},"--debug",[857,873,874],{},"Print a debug summary of the run, and emit it as a wide event",[842,876,877,882],{},[857,878,879],{},[613,880,881],{},"--noHeader",[857,883,884],{},"Skip the branded header",[842,886,887,892],{},[857,888,889],{},[613,890,891],{},"--cwd \u003Cdir>",[857,893,894],{},"Run against another directory instead of the current one",[842,896,897,902],{},[857,898,899],{},[613,900,901],{},"--help",[857,903,904],{},"Usage for the command",[842,906,907,912],{},[857,908,909],{},[613,910,911],{},"--version",[857,913,914],{},"Print the CLI version and exit",[805,916,918],{"id":917},"human-output-goes-to-stderr","Human output goes to stderr",[609,920,921,922,925,926,928,929,932],{},"The report you read is written to ",[657,923,924],{},"stderr",". Stdout is reserved for ",[613,927,861],{},", so a run can be piped into ",[613,930,931],{},"jq"," without the report getting in the way:",[673,934,937],{"className":675,"code":935,"filename":936,"language":678,"meta":679,"style":679},"evlog map --json | jq '.map.score'\n","Terminal",[613,938,939],{"__ignoreMap":679},[683,940,941,943,946,949,953,956,959,962],{"class":685,"line":686},[683,942,615],{"class":689},[683,944,945],{"class":692}," map",[683,947,948],{"class":692}," --json",[683,950,952],{"class":951},"sMK4o"," |",[683,954,955],{"class":689}," jq",[683,957,958],{"class":951}," '",[683,960,961],{"class":692},".map.score",[683,963,964],{"class":951},"'\n",[609,966,967,968,970,971,974,975,978],{},"Without ",[613,969,861],{},", nothing is written to stdout at all. Colour is dropped when stdout is not a TTY or when ",[613,972,973],{},"NO_COLOR"," is set, and the report lays itself out for the width it is given, so set ",[613,976,977],{},"COLUMNS"," to render at a fixed width.",[805,980,982],{"id":981},"exit-codes","Exit codes",[836,984,985,995],{},[839,986,987],{},[842,988,989,992],{},[845,990,991],{},"Code",[845,993,994],{},"Meaning",[852,996,997,1007,1021],{},[842,998,999,1004],{},[857,1000,1001],{},[613,1002,1003],{},"0",[857,1005,1006],{},"The command ran and nothing failed",[842,1008,1009,1014],{},[857,1010,1011],{},[613,1012,1013],{},"1",[857,1015,1016,1017,1020],{},"A check failed, or ",[613,1018,1019],{},"--min-score"," was not met",[842,1022,1023,1028],{},[857,1024,1025],{},[613,1026,1027],{},"2",[857,1029,1030],{},"Usage error — an unknown flag or an invalid value",[653,1032,1033,1034,1037,1038,1042,1043,1046,1047,1050],{},"A pipe replaces ",[613,1035,1036],{},"$?"," with the exit code of the ",[1039,1040,1041],"em",{},"last"," command in it, so ",[613,1044,1045],{},"evlog map --min-score 90 \\| head"," always looks successful. Use ",[613,1048,1049],{},"set -o pipefail"," when you pipe a gated run.",[805,1052,1054],{"id":1053},"when-a-check-is-wrong","When a check is wrong",[609,1056,1057],{},"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:",[673,1059,1064],{"className":1060,"code":1061,"filename":1062,"language":1063,"meta":679,"style":679},"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",[613,1065,1066,1072],{"__ignoreMap":679},[683,1067,1068],{"class":685,"line":686},[683,1069,1071],{"class":1070},"sHwdD","\u002F\u002F evlog-map-disable-next-line wide-event, context -- liveness probe, deliberately silent\n",[683,1073,1075,1079,1082,1086,1090,1093,1097,1100,1103,1107,1110,1114,1117],{"class":685,"line":1074},2,[683,1076,1078],{"class":1077},"s7zQu","export",[683,1080,1081],{"class":1077}," default",[683,1083,1085],{"class":1084},"s2Zo4"," defineEventHandler",[683,1087,1089],{"class":1088},"sTEyZ","(",[683,1091,1092],{"class":951},"()",[683,1094,1096],{"class":1095},"spNyl"," =>",[683,1098,1099],{"class":1088}," (",[683,1101,1102],{"class":951},"{",[683,1104,1106],{"class":1105},"swJcz"," ok",[683,1108,1109],{"class":951},":",[683,1111,1113],{"class":1112},"sfNiH"," true",[683,1115,1116],{"class":951}," }",[683,1118,1119],{"class":1088},"))\n",[609,1121,1122,1123,1126,1127,1131],{},"The check becomes ",[613,1124,1125],{},"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. ",[624,1128,1130],{"href":1129},"\u002Fcli\u002Frules#disabling-a-check","Full syntax",".",[805,1133,1135],{"id":1134},"monorepos","Monorepos",[609,1137,1138,1140,1141,1143,1144,1146,1147,1150,1151,1154,1155,1157],{},[613,1139,94],{},", ",[613,1142,99],{}," and ",[613,1145,119],{}," all resolve the nearest ",[613,1148,1149],{},"package.json"," above the working directory, then treat that package as the project. In a pnpm or npm workspace, running from ",[613,1152,1153],{},"apps\u002Fweb"," scans ",[613,1156,1153],{},", not the repo root.",[609,1159,1160,1162],{},[613,1161,628],{}," 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:",[673,1164,1166],{"className":675,"code":1165,"filename":936,"language":678,"meta":679,"style":679},"cd apps\u002Fweb && evlog map\n# or\nevlog map --cwd apps\u002Fweb\n",[613,1167,1168,1183,1188],{"__ignoreMap":679},[683,1169,1170,1173,1176,1179,1181],{"class":685,"line":686},[683,1171,1172],{"class":1084},"cd",[683,1174,1175],{"class":692}," apps\u002Fweb",[683,1177,1178],{"class":951}," &&",[683,1180,693],{"class":689},[683,1182,696],{"class":692},[683,1184,1185],{"class":685,"line":1074},[683,1186,1187],{"class":1070},"# or\n",[683,1189,1191,1193,1195,1198],{"class":685,"line":1190},3,[683,1192,615],{"class":689},[683,1194,945],{"class":692},[683,1196,1197],{"class":692}," --cwd",[683,1199,1200],{"class":692}," apps\u002Fweb\n",[805,1202,1204],{"id":1203},"debugging-a-run","Debugging a run",[609,1206,1207,1209],{},[613,1208,871],{}," 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:",[673,1211,1213],{"className":675,"code":1212,"filename":936,"language":678,"meta":679,"style":679},"evlog map --debug\n",[613,1214,1215],{"__ignoreMap":679},[683,1216,1217,1219,1221],{"class":685,"line":686},[683,1218,615],{"class":689},[683,1220,945],{"class":692},[683,1222,1223],{"class":692}," --debug\n",[673,1225,1231],{"className":1226,"code":1228,"filename":1229,"language":1230,"meta":679},[1227],"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",[613,1232,1228],{"__ignoreMap":679},[609,1234,1235,1236,1238,1239,1242],{},"Add ",[613,1237,861],{}," to get the whole event instead of the summary. ",[613,1240,1241],{},"EVLOG_CLI_DEBUG=1"," does the same as the flag, which is useful in a CI job you cannot easily edit.",[805,1244,1246],{"id":1245},"next","Next",[1248,1249,1250,1258,1265,1270,1275],"ul",{},[1251,1252,1253,1257],"li",{},[624,1254,1255],{"href":95},[613,1256,644],{},": wire evlog into an app that does not have it yet",[1251,1259,1260,1264],{},[624,1261,1262],{"href":100},[613,1263,628],{},": what it scans and how to read the report",[1251,1266,1267,1269],{},[624,1268,104],{"href":105},": every check, what satisfies it, and how to fix it",[1251,1271,1272,1274],{},[624,1273,109],{"href":110},": how the number is calculated",[1251,1276,1277,1279],{},[624,1278,114],{"href":115},": gate a pull request on the score",[1281,1282,1283],"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":679,"searchDepth":1074,"depth":1074,"links":1285},[1286,1287,1288,1289,1290,1291,1292,1293],{"id":807,"depth":1074,"text":808},{"id":830,"depth":1074,"text":831},{"id":917,"depth":1074,"text":918},{"id":981,"depth":1074,"text":982},{"id":1053,"depth":1074,"text":1054},{"id":1134,"depth":1074,"text":1135},{"id":1203,"depth":1074,"text":1204},{"id":1245,"depth":1074,"text":1246},"Use the evlog CLI to check logging patterns in supported source files, diagnose your setup, and control telemetry. Includes flags and exit codes.","md",[1297,1299],{"label":628,"icon":102,"to":100,"color":802,"variant":1298},"subtle",{"label":104,"icon":107,"to":105,"color":802,"variant":1298},{},{"title":41,"icon":49},{"title":604,"description":1294},"6nq4dSGTmV4qmiNENhkxVzcMNUsxWJ8JQO6lPFAibPQ",[1305,1307],{"title":81,"path":82,"stem":83,"description":1306,"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":1308,"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.",1791059985156]