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