[{"data":1,"prerenderedAt":1342},["ShallowReactive",2],{"navigation_docs":3,"-cli-overview":612,"-cli-overview-surround":1337},[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":1327,"extension":1328,"links":1329,"meta":1333,"navigation":1334,"path":91,"seo":1335,"stem":92,"__hash__":1336},"docs\u002F3.cli\u002F0.overview.md","evlog CLI",{"type":616,"value":617,"toc":1317},"minimark",[618,630,648,680,697,755,777,830,835,840,862,866,869,949,953,967,999,1013,1017,1065,1085,1089,1092,1154,1166,1170,1191,1196,1234,1238,1243,1257,1266,1276,1280,1313],[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,774,776],{},"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. A global ",[623,775,765],{}," hands off to the copy the project installs, so a project always runs the version it pins. Install the CLI for a pinned, instant run, which is what CI wants:",[698,778,779,797,813],{},[701,780,782],{"className":703,"code":781,"filename":705,"language":706,"meta":707,"style":707},"pnpm add -D @evlog\u002Fcli\n",[623,783,784],{"__ignoreMap":707},[711,785,786,788,791,794],{"class":713,"line":714},[711,787,705],{"class":717},[711,789,790],{"class":720}," add",[711,792,793],{"class":720}," -D",[711,795,796],{"class":720}," @evlog\u002Fcli\n",[701,798,800],{"className":703,"code":799,"filename":728,"language":706,"meta":707,"style":707},"bun add -d @evlog\u002Fcli\n",[623,801,802],{"__ignoreMap":707},[711,803,804,806,808,811],{"class":713,"line":714},[711,805,728],{"class":717},[711,807,790],{"class":720},[711,809,810],{"class":720}," -d",[711,812,796],{"class":720},[701,814,816],{"className":703,"code":815,"filename":743,"language":706,"meta":707,"style":707},"npm install --save-dev @evlog\u002Fcli\n",[623,817,818],{"__ignoreMap":707},[711,819,820,822,825,828],{"class":713,"line":714},[711,821,743],{"class":717},[711,823,824],{"class":720}," install",[711,826,827],{"class":720}," --save-dev",[711,829,796],{"class":720},[831,832,834],"callout",{"color":833,"icon":13},"neutral","The CLI requires Node 22 or later.",[836,837,839],"h2",{"id":838},"commands","Commands",[841,842,843,847,850,853,856,859],"card-group",{},[844,845,846],"card",{"color":833,"icon":97,"title":94,"to":95},"Install evlog, register the framework integration, and write a local drain.",[844,848,849],{"color":833,"icon":142,"title":139,"to":140},"Write the evlog conventions into AGENTS.md and install the agent skills.",[844,851,852],{"color":833,"icon":112,"title":109,"to":110},"Score wide-event coverage across every entry point, and name the ones to fix first.",[844,854,855],{"color":833,"icon":132,"title":129,"to":130},"Check that evlog is installed, resolvable, and writing logs where you expect.",[844,857,858],{"color":833,"icon":107,"title":104,"to":105},"Show the evlog.config that applies here and where each setting comes from.",[844,860,861],{"color":833,"icon":137,"title":134,"to":135},"Show, enable, or disable the CLI's own anonymous usage telemetry.",[836,863,865],{"id":864},"global-flags","Global flags",[619,867,868],{},"Every command accepts these:",[870,871,872,885],"table",{},[873,874,875],"thead",{},[876,877,878,882],"tr",{},[879,880,881],"th",{},"Flag",[879,883,884],{},"What it does",[886,887,888,899,909,919,929,939],"tbody",{},[876,889,890,896],{},[891,892,893],"td",{},[623,894,895],{},"--json",[891,897,898],{},"Machine-readable JSON on stdout instead of the report",[876,900,901,906],{},[891,902,903],{},[623,904,905],{},"--debug",[891,907,908],{},"Print a debug summary of the run, and emit it as a wide event",[876,910,911,916],{},[891,912,913],{},[623,914,915],{},"--noHeader",[891,917,918],{},"Skip the branded header",[876,920,921,926],{},[891,922,923],{},[623,924,925],{},"--cwd \u003Cdir>",[891,927,928],{},"Run against another directory instead of the current one",[876,930,931,936],{},[891,932,933],{},[623,934,935],{},"--help",[891,937,938],{},"Usage for the command",[876,940,941,946],{},[891,942,943],{},[623,944,945],{},"--version",[891,947,948],{},"Print the CLI version and exit",[836,950,952],{"id":951},"human-output-goes-to-stderr","Human output goes to stderr",[619,954,955,956,959,960,962,963,966],{},"The report you read is written to ",[685,957,958],{},"stderr",". Stdout is reserved for ",[623,961,895],{},", so a run can be piped into ",[623,964,965],{},"jq"," without the report getting in the way:",[701,968,971],{"className":703,"code":969,"filename":970,"language":706,"meta":707,"style":707},"evlog map --json | jq '.map.score'\n","Terminal",[623,972,973],{"__ignoreMap":707},[711,974,975,977,980,983,987,990,993,996],{"class":713,"line":714},[711,976,625],{"class":717},[711,978,979],{"class":720}," map",[711,981,982],{"class":720}," --json",[711,984,986],{"class":985},"sMK4o"," |",[711,988,989],{"class":717}," jq",[711,991,992],{"class":985}," '",[711,994,995],{"class":720},".map.score",[711,997,998],{"class":985},"'\n",[619,1000,1001,1002,1004,1005,1008,1009,1012],{},"Without ",[623,1003,895],{},", nothing is written to stdout at all. Colour is dropped when stdout is not a TTY or when ",[623,1006,1007],{},"NO_COLOR"," is set, and the report lays itself out for the width it is given, so set ",[623,1010,1011],{},"COLUMNS"," to render at a fixed width.",[836,1014,1016],{"id":1015},"exit-codes","Exit codes",[870,1018,1019,1029],{},[873,1020,1021],{},[876,1022,1023,1026],{},[879,1024,1025],{},"Code",[879,1027,1028],{},"Meaning",[886,1030,1031,1041,1055],{},[876,1032,1033,1038],{},[891,1034,1035],{},[623,1036,1037],{},"0",[891,1039,1040],{},"The command ran and nothing failed",[876,1042,1043,1048],{},[891,1044,1045],{},[623,1046,1047],{},"1",[891,1049,1050,1051,1054],{},"A check failed, or ",[623,1052,1053],{},"--min-score"," was not met",[876,1056,1057,1062],{},[891,1058,1059],{},[623,1060,1061],{},"2",[891,1063,1064],{},"Usage error — an unknown flag or an invalid value",[681,1066,1067,1068,1071,1072,1076,1077,1080,1081,1084],{},"A pipe replaces ",[623,1069,1070],{},"$?"," with the exit code of the ",[1073,1074,1075],"em",{},"last"," command in it, so ",[623,1078,1079],{},"evlog map --min-score 90 \\| head"," always looks successful. Use ",[623,1082,1083],{},"set -o pipefail"," when you pipe a gated run.",[836,1086,1088],{"id":1087},"when-a-check-is-wrong","When a check is wrong",[619,1090,1091],{},"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,1093,1098],{"className":1094,"code":1095,"filename":1096,"language":1097,"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,1099,1100,1106],{"__ignoreMap":707},[711,1101,1102],{"class":713,"line":714},[711,1103,1105],{"class":1104},"sHwdD","\u002F\u002F evlog-map-disable-next-line wide-event, context -- liveness probe, deliberately silent\n",[711,1107,1109,1113,1116,1120,1124,1127,1131,1134,1137,1141,1144,1148,1151],{"class":713,"line":1108},2,[711,1110,1112],{"class":1111},"s7zQu","export",[711,1114,1115],{"class":1111}," default",[711,1117,1119],{"class":1118},"s2Zo4"," defineEventHandler",[711,1121,1123],{"class":1122},"sTEyZ","(",[711,1125,1126],{"class":985},"()",[711,1128,1130],{"class":1129},"spNyl"," =>",[711,1132,1133],{"class":1122}," (",[711,1135,1136],{"class":985},"{",[711,1138,1140],{"class":1139},"swJcz"," ok",[711,1142,1143],{"class":985},":",[711,1145,1147],{"class":1146},"sfNiH"," true",[711,1149,1150],{"class":985}," }",[711,1152,1153],{"class":1122},"))\n",[619,1155,1156,1157,1160,1161,1165],{},"The check becomes ",[623,1158,1159],{},"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,1162,1164],{"href":1163},"\u002Fcli\u002Frules#disabling-a-check","Full syntax",".",[836,1167,1169],{"id":1168},"monorepos","Monorepos",[619,1171,1172,1174,1175,676,1177,1179,1180,1183,1184,1187,1188,1190],{},[623,1173,94],{},", ",[623,1176,109],{},[623,1178,129],{}," all resolve the nearest ",[623,1181,1182],{},"package.json"," above the working directory, then treat that package as the project. In a pnpm or npm workspace, running from ",[623,1185,1186],{},"apps\u002Fweb"," scans ",[623,1189,1186],{},", not the repo root.",[619,1192,1193,1195],{},[623,1194,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,1197,1199],{"className":703,"code":1198,"filename":970,"language":706,"meta":707,"style":707},"cd apps\u002Fweb && evlog map\n# or\nevlog map --cwd apps\u002Fweb\n",[623,1200,1201,1216,1221],{"__ignoreMap":707},[711,1202,1203,1206,1209,1212,1214],{"class":713,"line":714},[711,1204,1205],{"class":1118},"cd",[711,1207,1208],{"class":720}," apps\u002Fweb",[711,1210,1211],{"class":985}," &&",[711,1213,721],{"class":717},[711,1215,724],{"class":720},[711,1217,1218],{"class":713,"line":1108},[711,1219,1220],{"class":1104},"# or\n",[711,1222,1224,1226,1228,1231],{"class":713,"line":1223},3,[711,1225,625],{"class":717},[711,1227,979],{"class":720},[711,1229,1230],{"class":720}," --cwd",[711,1232,1233],{"class":720}," apps\u002Fweb\n",[836,1235,1237],{"id":1236},"debugging-a-run","Debugging a run",[619,1239,1240,1242],{},[623,1241,905],{}," 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,1244,1246],{"className":703,"code":1245,"filename":970,"language":706,"meta":707,"style":707},"evlog map --debug\n",[623,1247,1248],{"__ignoreMap":707},[711,1249,1250,1252,1254],{"class":713,"line":714},[711,1251,625],{"class":717},[711,1253,979],{"class":720},[711,1255,1256],{"class":720}," --debug\n",[701,1258,1264],{"className":1259,"code":1261,"filename":1262,"language":1263,"meta":707},[1260],"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,1265,1261],{"__ignoreMap":707},[619,1267,1268,1269,1271,1272,1275],{},"Add ",[623,1270,895],{}," to get the whole event instead of the summary. ",[623,1273,1274],{},"EVLOG_CLI_DEBUG=1"," does the same as the flag, which is useful in a CI job you cannot easily edit.",[836,1277,1279],{"id":1278},"next","Next",[1281,1282,1283,1291,1298,1303,1308],"ul",{},[1284,1285,1286,1290],"li",{},[634,1287,1288],{"href":95},[623,1289,654],{},": wire evlog into an app that does not have it yet",[1284,1292,1293,1297],{},[634,1294,1295],{"href":110},[623,1296,638],{},": what it scans and how to read the report",[1284,1299,1300,1302],{},[634,1301,114],{"href":115},": every check, what satisfies it, and how to fix it",[1284,1304,1305,1307],{},[634,1306,119],{"href":120},": how the number is calculated",[1284,1309,1310,1312],{},[634,1311,124],{"href":125},": gate a pull request on the score",[1314,1315,1316],"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":1108,"depth":1108,"links":1318},[1319,1320,1321,1322,1323,1324,1325,1326],{"id":838,"depth":1108,"text":839},{"id":864,"depth":1108,"text":865},{"id":951,"depth":1108,"text":952},{"id":1015,"depth":1108,"text":1016},{"id":1087,"depth":1108,"text":1088},{"id":1168,"depth":1108,"text":1169},{"id":1236,"depth":1108,"text":1237},{"id":1278,"depth":1108,"text":1279},"Use the evlog CLI to check logging patterns in supported source files, diagnose your setup, and control telemetry. Includes flags and exit codes.","md",[1330,1332],{"label":638,"icon":112,"to":110,"color":833,"variant":1331},"subtle",{"label":114,"icon":117,"to":115,"color":833,"variant":1331},{},{"title":41,"icon":49},{"title":614,"description":1327},"7HmqrKrS5NhIrdhQBY2diKWjCJ_KXRZBkke1bg8uB4s",[1338,1340],{"title":81,"path":82,"stem":83,"description":1339,"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":1341,"icon":97,"children":-1},"Wire evlog into an existing app. Installs the package, registers the integration, and writes evlog.config.ts with the destinations you pick.",1791751564521]