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