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