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