[{"data":1,"prerenderedAt":1055},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-overview":421,"-frameworks-overview-surround":1050},[4,35,159,201,289,318,405],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Getting Started","\u002Fgetting-started","1.getting-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","\u002Fgetting-started\u002Fagent-skills","1.getting-started\u002F4.agent-skills","i-lucide-sparkles",{"title":30,"path":31,"stem":32,"icon":33},"vs Other Loggers","\u002Fgetting-started\u002Fvs-other-loggers","1.getting-started\u002F5.vs-other-loggers","i-lucide-scale",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Logging","\u002Flogging","2.logging",[40,45,50,55,60,65,70,99,127],{"title":41,"path":42,"stem":43,"icon":44},"Overview","\u002Flogging\u002Foverview","2.logging\u002F0.overview","i-lucide-list",{"title":46,"path":47,"stem":48,"icon":49},"Simple Logging","\u002Flogging\u002Fsimple-logging","2.logging\u002F1.simple-logging","i-lucide-terminal",{"title":51,"path":52,"stem":53,"icon":54},"Wide Events","\u002Flogging\u002Fwide-events","2.logging\u002F2.wide-events","i-lucide-layers",{"title":56,"path":57,"stem":58,"icon":59},"Structured Errors","\u002Flogging\u002Fstructured-errors","2.logging\u002F3.structured-errors","i-lucide-shield-alert",{"title":61,"path":62,"stem":63,"icon":64},"Catalogs","\u002Flogging\u002Fcatalogs","2.logging\u002F4.catalogs","i-lucide-book-open",{"title":66,"path":67,"stem":68,"icon":69},"Client Logging","\u002Flogging\u002Fclient-logging","2.logging\u002F5.client-logging","i-lucide-monitor",{"title":71,"icon":72,"path":73,"stem":74,"children":75,"page":34},"AI SDK","i-simple-icons-vercel","\u002Flogging\u002Fai-sdk","2.logging\u002F6.ai-sdk",[76,79,84,89,94],{"title":41,"path":77,"stem":78,"icon":44},"\u002Flogging\u002Fai-sdk\u002Foverview","2.logging\u002F6.ai-sdk\u002F01.overview",{"title":80,"path":81,"stem":82,"icon":83},"Usage","\u002Flogging\u002Fai-sdk\u002Fusage","2.logging\u002F6.ai-sdk\u002F02.usage","i-lucide-code",{"title":85,"path":86,"stem":87,"icon":88},"Options","\u002Flogging\u002Fai-sdk\u002Foptions","2.logging\u002F6.ai-sdk\u002F03.options","i-lucide-sliders",{"title":90,"path":91,"stem":92,"icon":93},"Metadata","\u002Flogging\u002Fai-sdk\u002Fmetadata","2.logging\u002F6.ai-sdk\u002F04.metadata","i-lucide-database",{"title":95,"path":96,"stem":97,"icon":98},"Telemetry","\u002Flogging\u002Fai-sdk\u002Ftelemetry","2.logging\u002F6.ai-sdk\u002F05.telemetry","i-lucide-activity",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":34},"Better Auth","i-simple-icons-betterauth","\u002Flogging\u002Fbetter-auth","2.logging\u002F7.better-auth",[105,108,113,118,122],{"title":41,"path":106,"stem":107,"icon":44},"\u002Flogging\u002Fbetter-auth\u002Foverview","2.logging\u002F7.better-auth\u002F01.overview",{"title":109,"path":110,"stem":111,"icon":112},"Identify User","\u002Flogging\u002Fbetter-auth\u002Fidentify-user","2.logging\u002F7.better-auth\u002F02.identify-user","i-lucide-user-check",{"title":114,"path":115,"stem":116,"icon":117},"Middleware","\u002Flogging\u002Fbetter-auth\u002Fmiddleware","2.logging\u002F7.better-auth\u002F03.middleware","i-lucide-shield",{"title":119,"path":120,"stem":121,"icon":69},"Client Sync","\u002Flogging\u002Fbetter-auth\u002Fclient-sync","2.logging\u002F7.better-auth\u002F04.client-sync",{"title":123,"path":124,"stem":125,"icon":126},"Performance","\u002Flogging\u002Fbetter-auth\u002Fperformance","2.logging\u002F7.better-auth\u002F05.performance","i-lucide-gauge",{"title":128,"icon":129,"path":130,"stem":131,"children":132,"page":34},"Audit Logs","i-lucide-shield-check","\u002Flogging\u002Faudit","2.logging\u002F8.audit",[133,136,141,146,151,155],{"title":41,"path":134,"stem":135,"icon":44},"\u002Flogging\u002Faudit\u002Foverview","2.logging\u002F8.audit\u002F01.overview",{"title":137,"path":138,"stem":139,"icon":140},"Schema","\u002Flogging\u002Faudit\u002Fschema","2.logging\u002F8.audit\u002F02.schema","i-lucide-file-text",{"title":142,"path":143,"stem":144,"icon":145},"Recording","\u002Flogging\u002Faudit\u002Frecording","2.logging\u002F8.audit\u002F03.recording","i-lucide-pen-line",{"title":147,"path":148,"stem":149,"icon":150},"Drains","\u002Flogging\u002Faudit\u002Fpipeline","2.logging\u002F8.audit\u002F04.pipeline","i-lucide-link",{"title":152,"path":153,"stem":154,"icon":129},"Compliance","\u002Flogging\u002Faudit\u002Fcompliance","2.logging\u002F8.audit\u002F05.compliance",{"title":156,"path":157,"stem":158,"icon":64},"Recipes","\u002Flogging\u002Faudit\u002Frecipes","2.logging\u002F8.audit\u002F06.recipes",{"title":160,"path":161,"stem":162,"children":163,"page":34},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[164,169,174,179,184,188,191,196],{"title":165,"path":166,"stem":167,"icon":168},"Lifecycle","\u002Fcore-concepts\u002Flifecycle","3.core-concepts\u002F0.lifecycle","i-lucide-arrow-right-left",{"title":170,"path":171,"stem":172,"icon":173},"Configuration","\u002Fcore-concepts\u002Fconfiguration","3.core-concepts\u002F1.configuration","i-lucide-settings",{"title":175,"path":176,"stem":177,"icon":178},"Sampling","\u002Fcore-concepts\u002Fsampling","3.core-concepts\u002F2.sampling","i-lucide-filter",{"title":180,"path":181,"stem":182,"icon":183},"Typed Fields","\u002Fcore-concepts\u002Ftyped-fields","3.core-concepts\u002F3.typed-fields","i-simple-icons-typescript",{"title":185,"path":186,"stem":187,"icon":129},"Best Practices","\u002Fcore-concepts\u002Fbest-practices","3.core-concepts\u002F4.best-practices",{"title":123,"path":189,"stem":190,"icon":126},"\u002Fcore-concepts\u002Fperformance","3.core-concepts\u002F5.performance",{"title":192,"path":193,"stem":194,"icon":195},"Vite Plugin","\u002Fcore-concepts\u002Fvite-plugin","3.core-concepts\u002F6.vite-plugin","i-custom-vite",{"title":197,"path":198,"stem":199,"icon":200},"Auto-Redaction","\u002Fcore-concepts\u002Fredaction","3.core-concepts\u002F7.redaction","i-lucide-eye-off",{"title":202,"path":203,"stem":204,"children":205,"page":34},"Frameworks","\u002Fframeworks","4.frameworks",[206,210,215,220,225,230,235,240,245,250,255,260,265,270,274,279,284],{"title":41,"path":207,"stem":208,"icon":209},"\u002Fframeworks\u002Foverview","4.frameworks\u002F00.overview","i-lucide-layout-grid",{"title":211,"path":212,"stem":213,"icon":214},"Nuxt","\u002Fframeworks\u002Fnuxt","4.frameworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":216,"path":217,"stem":218,"icon":219},"Next.js","\u002Fframeworks\u002Fnextjs","4.frameworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":221,"path":222,"stem":223,"icon":224},"SvelteKit","\u002Fframeworks\u002Fsveltekit","4.frameworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":226,"path":227,"stem":228,"icon":229},"Nitro","\u002Fframeworks\u002Fnitro","4.frameworks\u002F04.nitro","i-custom-nitro",{"title":231,"path":232,"stem":233,"icon":234},"TanStack Start","\u002Fframeworks\u002Ftanstack-start","4.frameworks\u002F05.tanstack-start","i-custom-tanstack",{"title":236,"path":237,"stem":238,"icon":239},"NestJS","\u002Fframeworks\u002Fnestjs","4.frameworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":241,"path":242,"stem":243,"icon":244},"Express","\u002Fframeworks\u002Fexpress","4.frameworks\u002F07.express","i-simple-icons-express",{"title":246,"path":247,"stem":248,"icon":249},"Hono","\u002Fframeworks\u002Fhono","4.frameworks\u002F08.hono","i-simple-icons-hono",{"title":251,"path":252,"stem":253,"icon":254},"Fastify","\u002Fframeworks\u002Ffastify","4.frameworks\u002F09.fastify","i-simple-icons-fastify",{"title":256,"path":257,"stem":258,"icon":259},"Elysia","\u002Fframeworks\u002Felysia","4.frameworks\u002F10.elysia","i-custom-elysia",{"title":261,"path":262,"stem":263,"icon":264},"React Router","\u002Fframeworks\u002Freact-router","4.frameworks\u002F11.react-router","i-custom-reactrouter",{"title":266,"path":267,"stem":268,"icon":269},"Cloudflare Workers","\u002Fframeworks\u002Fcloudflare-workers","4.frameworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":271,"path":272,"stem":273,"icon":183},"Standalone","\u002Fframeworks\u002Fstandalone","4.frameworks\u002F13.standalone",{"title":275,"path":276,"stem":277,"icon":278},"Astro","\u002Fframeworks\u002Fastro","4.frameworks\u002F14.astro","i-simple-icons-astro",{"title":280,"path":281,"stem":282,"icon":283},"AWS Lambda","\u002Fframeworks\u002Faws-lambda","4.frameworks\u002F16.aws-lambda","i-custom-lambda",{"title":285,"path":286,"stem":287,"icon":288},"Custom Integration","\u002Fframeworks\u002Fcustom-integration","4.frameworks\u002F17.custom-integration","i-lucide-puzzle",{"title":290,"path":291,"stem":292,"children":293,"page":34},"Build on top","\u002Fbuild-on-top","5.build-on-top",[294,299,304,309,314],{"title":295,"path":296,"stem":297,"icon":298},"Identity headers","\u002Fbuild-on-top\u002Fidentity-headers","5.build-on-top\u002F1.identity-headers","i-lucide-fingerprint",{"title":300,"path":301,"stem":302,"icon":303},"Stream API","\u002Fbuild-on-top\u002Fstream-api","5.build-on-top\u002F2.stream-api","i-lucide-radio-tower",{"title":305,"path":306,"stem":307,"icon":308},"SSE bridge","\u002Fbuild-on-top\u002Fsse-bridge","5.build-on-top\u002F3.sse-bridge","i-lucide-wifi",{"title":310,"path":311,"stem":312,"icon":313},"FS reader","\u002Fbuild-on-top\u002Ffs-reader","5.build-on-top\u002F4.fs-reader","i-lucide-folder-search",{"title":156,"path":315,"stem":316,"icon":317},"\u002Fbuild-on-top\u002Frecipes","5.build-on-top\u002F4.recipes","i-lucide-chef-hat",{"title":319,"path":320,"stem":321,"children":322,"page":34},"Adapters","\u002Fadapters","6.adapters",[323,326,366,381],{"title":41,"path":324,"stem":325,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":327,"path":328,"stem":329,"children":330,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[331,336,341,346,351,356,361],{"title":332,"path":333,"stem":334,"icon":335},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":337,"path":338,"stem":339,"icon":340},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":342,"path":343,"stem":344,"icon":345},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":347,"path":348,"stem":349,"icon":350},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":352,"path":353,"stem":354,"icon":355},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":357,"path":358,"stem":359,"icon":360},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":362,"path":363,"stem":364,"icon":365},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":367,"path":368,"stem":369,"children":370,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[371,376],{"title":372,"path":373,"stem":374,"icon":375},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":377,"path":378,"stem":379,"icon":380},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":382,"path":383,"stem":384,"children":385,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[386,391,396,400],{"title":387,"path":388,"stem":389,"icon":390},"Pipeline","\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline","i-lucide-workflow",{"title":392,"path":393,"stem":394,"icon":395},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":397,"path":398,"stem":399,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":401,"path":402,"stem":403,"icon":404},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":406,"path":407,"stem":408,"children":409,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[410,413,417],{"title":41,"path":411,"stem":412,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":414,"path":415,"stem":416,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":418,"path":419,"stem":420,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":422,"title":423,"body":424,"description":1043,"extension":1044,"links":1045,"meta":1046,"navigation":1047,"path":207,"seo":1048,"stem":208,"__hash__":1049},"docs\u002F4.frameworks\u002F00.overview.md","Framework Integrations",{"type":425,"value":426,"toc":1035},"minimark",[427,443,456,460,847,851,906,910,959,981,984,994,1029],[428,429,430,431,435,436,435,439,442],"p",{},"evlog provides native integrations for every major TypeScript framework. The same core API (",[432,433,434],"code",{},"log.set()",", ",[432,437,438],{},"createError()",[432,440,441],{},"parseError()",") works identically everywhere. Only the setup differs.",[444,445,447,448,452,453,455],"callout",{"color":446,"icon":395},"neutral","No HTTP framework? Use ",[449,450,451],"a",{"href":272},"Standalone TypeScript"," for scripts, libraries, and workers, and ",[449,454,266],{"href":267}," on the edge.",[457,458,41],"h2",{"id":459},"overview",[461,462,463,485],"table",{},[464,465,466],"thead",{},[467,468,469,473,476,479,482],"tr",{},[470,471,472],"th",{},"Framework",[470,474,475],{},"Import",[470,477,478],{},"Type",[470,480,481],{},"Logger Access",[470,483,484],{},"Status",[486,487,488,511,532,556,575,595,613,635,654,676,696,719,742,762,787,807,825],"tbody",{},[467,489,490,495,500,503,508],{},[491,492,493],"td",{},[449,494,211],{"href":212},[491,496,497],{},[432,498,499],{},"evlog\u002Fnuxt",[491,501,502],{},"Module",[491,504,505],{},[432,506,507],{},"useLogger(event)",[491,509,510],{},"Stable",[467,512,513,517,522,525,530],{},[491,514,515],{},[449,516,216],{"href":217},[491,518,519],{},[432,520,521],{},"evlog\u002Fnext",[491,523,524],{},"Factory",[491,526,527],{},[432,528,529],{},"useLogger()",[491,531,510],{},[467,533,534,538,543,546,554],{},[491,535,536],{},[449,537,221],{"href":222},[491,539,540],{},[432,541,542],{},"evlog\u002Fsveltekit",[491,544,545],{},"Hooks",[491,547,548,551,552],{},[432,549,550],{},"event.locals.log"," \u002F ",[432,553,529],{},[491,555,510],{},[467,557,558,562,567,569,573],{},[491,559,560],{},[449,561,226],{"href":227},[491,563,564],{},[432,565,566],{},"evlog\u002Fnitro",[491,568,502],{},[491,570,571],{},[432,572,507],{},[491,574,510],{},[467,576,577,581,586,588,593],{},[491,578,579],{},[449,580,231],{"href":232},[491,582,583],{},[432,584,585],{},"evlog\u002Fnitro\u002Fv3",[491,587,502],{},[491,589,590],{},[432,591,592],{},"useRequest().context.log",[491,594,510],{},[467,596,597,602,606,608,611],{},[491,598,599],{},[449,600,601],{"href":232},"TanStack Router",[491,603,604],{},[432,605,585],{},[491,607,502],{},[491,609,610],{},"Via TanStack Start (uses Nitro v3)",[491,612,510],{},[467,614,615,619,624,626,633],{},[491,616,617],{},[449,618,261],{"href":262},[491,620,621],{},[432,622,623],{},"evlog\u002Freact-router",[491,625,114],{},[491,627,628,551,631],{},[432,629,630],{},"context.get(loggerContext)",[432,632,529],{},[491,634,510],{},[467,636,637,641,646,648,652],{},[491,638,639],{},[449,640,236],{"href":237},[491,642,643],{},[432,644,645],{},"evlog\u002Fnestjs",[491,647,502],{},[491,649,650],{},[432,651,529],{},[491,653,510],{},[467,655,656,660,665,667,674],{},[491,657,658],{},[449,659,241],{"href":242},[491,661,662],{},[432,663,664],{},"evlog\u002Fexpress",[491,666,114],{},[491,668,669,551,672],{},[432,670,671],{},"req.log",[432,673,529],{},[491,675,510],{},[467,677,678,682,687,689,694],{},[491,679,680],{},[449,681,246],{"href":247},[491,683,684],{},[432,685,686],{},"evlog\u002Fhono",[491,688,114],{},[491,690,691],{},[432,692,693],{},"c.get('log')",[491,695,510],{},[467,697,698,702,707,710,717],{},[491,699,700],{},[449,701,251],{"href":252},[491,703,704],{},[432,705,706],{},"evlog\u002Ffastify",[491,708,709],{},"Plugin",[491,711,712,551,715],{},[432,713,714],{},"request.log",[432,716,529],{},[491,718,510],{},[467,720,721,725,730,732,740],{},[491,722,723],{},[449,724,256],{"href":257},[491,726,727],{},[432,728,729],{},"evlog\u002Felysia",[491,731,709],{},[491,733,734,737,738],{},[432,735,736],{},"log"," (context) \u002F ",[432,739,529],{},[491,741,510],{},[467,743,744,748,753,755,760],{},[491,745,746],{},[449,747,266],{"href":267},[491,749,750],{},[432,751,752],{},"evlog\u002Fworkers",[491,754,524],{},[491,756,757],{},[432,758,759],{},"createWorkersLogger()",[491,761,510],{},[467,763,764,768,773,776,784],{},[491,765,766],{},[449,767,280],{"href":281},[491,769,770],{},[432,771,772],{},"evlog",[491,774,775],{},"Manual",[491,777,778,551,781],{},[432,779,780],{},"createLogger()",[432,782,783],{},"createRequestLogger()",[491,785,786],{},"Guide",[467,788,789,793,797,799,805],{},[491,790,791],{},[449,792,271],{"href":272},[491,794,795],{},[432,796,772],{},[491,798,775],{},[491,800,801,551,803],{},[432,802,780],{},[432,804,783],{},[491,806,510],{},[467,808,809,813,817,819,823],{},[491,810,811],{},[449,812,275],{"href":276},[491,814,815],{},[432,816,772],{},[491,818,775],{},[491,820,821],{},[432,822,783],{},[491,824,786],{},[467,826,827,831,836,839,844],{},[491,828,829],{},[449,830,418],{"href":286},[491,832,833],{},[432,834,835],{},"evlog\u002Ftoolkit",[491,837,838],{},"Build your own",[491,840,841],{},[432,842,843],{},"createMiddlewareLogger()",[491,845,846],{},"Beta",[457,848,850],{"id":849},"full-stack-frameworks","Full-Stack Frameworks",[852,853,854,869,879,885,888,891,900],"card-group",{},[855,856,857,858,435,861,864,865,868],"card",{"color":446,"icon":214,"title":211,"to":212},"Auto-imported ",[432,859,860],{},"useLogger",[432,862,863],{},"createError",", and ",[432,866,867],{},"parseError",". Zero config.",[855,870,871,874,875,878],{"color":446,"icon":219,"title":216,"to":217},[432,872,873],{},"createEvlog()"," factory with ",[432,876,877],{},"withEvlog()"," handler wrapper and client provider.",[855,880,881,882,884],{"color":446,"icon":224,"title":221,"to":222},"Handle and handleError hooks with request-scoped logger on ",[432,883,550],{},".",[855,886,887],{"color":446,"icon":229,"title":226,"to":227},"Module for both Nitro v2 and v3 with plugin-based drain and enrichment hooks.",[855,889,890],{"color":446,"icon":234,"title":231,"to":232},"Uses Nitro v3 module with async context for seamless logging in server functions. Also covers TanStack Router (full-stack mode).",[855,892,893,894,896,897,899],{"color":446,"icon":264,"title":261,"to":262},"Middleware with ",[432,895,630],{}," and ",[432,898,529],{}," for loaders and services.",[855,901,902,905],{"color":446,"icon":239,"title":236,"to":237},[432,903,904],{},"EvlogModule.forRoot()"," with global middleware, exception filter, and async config.",[457,907,909],{"id":908},"server-frameworks","Server Frameworks",[852,911,912,917,926,932,940,943,953,956],{},[855,913,893,914,916],{"color":446,"icon":244,"title":241,"to":242},[432,915,671],{}," and 4-argument error handler.",[855,918,919,920,922,923,884],{"color":446,"icon":249,"title":246,"to":247},"Middleware with typed ",[432,921,693],{}," via ",[432,924,925],{},"EvlogVariables",[855,927,928,929,931],{"color":446,"icon":254,"title":251,"to":252},"Plugin with ",[432,930,714],{}," that shadows Fastify's built-in pino logger.",[855,933,928,934,936,937,884],{"color":446,"icon":259,"title":256,"to":257},[432,935,736],{}," in route context via Elysia's ",[432,938,939],{},"derive",[855,941,942],{"color":446,"icon":269,"title":266,"to":267},"Factory for creating request-scoped loggers with Cloudflare-specific context.",[855,944,945,948,949,952],{"color":446,"icon":283,"title":280,"to":281},[432,946,947],{},"initLogger"," once per runtime; ",[432,950,951],{},"createLogger"," per invocation (SQS, events, HTTP API).",[855,954,955],{"color":446,"icon":183,"title":271,"to":272},"For scripts, CLI tools, queues, and any TypeScript process.",[855,957,958],{"color":446,"icon":288,"title":285,"to":286},"Build your own middleware with the evlog toolkit API.",[444,960,962,963,435,966,435,969,435,972,435,975,864,978,884],{"color":961,"icon":13},"info","All frameworks support the same features: ",[449,964,965],{"href":52},"wide events",[449,967,968],{"href":57},"structured errors",[449,970,971],{"href":324},"drain adapters",[449,973,974],{"href":411},"enrichers",[449,976,977],{"href":176},"sampling",[449,979,980],{"href":77},"AI SDK integration",[457,982,192],{"id":983},"vite-plugin",[428,985,986,987,993],{},"For any Vite-based project, the ",[449,988,989,992],{"href":193},[432,990,991],{},"evlog\u002Fvite"," plugin"," adds build-time optimizations:",[995,996,997,1009,1019],"ul",{},[998,999,1000,1004,1005,1008],"li",{},[1001,1002,1003],"strong",{},"Auto-initialization",": no ",[432,1006,1007],{},"initLogger()"," call needed",[998,1010,1011,1014,1015,1018],{},[1001,1012,1013],{},"Debug stripping",": ",[432,1016,1017],{},"log.debug()"," removed from production builds",[998,1020,1021,1024,1025,1028],{},[1001,1022,1023],{},"Source location",": inject ",[432,1026,1027],{},"__source: 'file:line'"," into log calls",[428,1030,1031,1032,1034],{},"Works with SvelteKit, Hono (via vite-node), and any Vite-powered setup. Nuxt users get these features via the ",[432,1033,499],{}," module options.",{"title":1036,"searchDepth":1037,"depth":1037,"links":1038},"",2,[1039,1040,1041,1042],{"id":459,"depth":1037,"text":41},{"id":849,"depth":1037,"text":850},{"id":908,"depth":1037,"text":909},{"id":983,"depth":1037,"text":192},"evlog supports every major TypeScript framework. Choose your stack and get started in minutes.","md",null,{},{"title":41,"icon":209},{"title":423,"description":1043},"6-aGENqWWWwQ7dTNr-FfcYPyZWzbZACGxVtZHsyFE24",[1051,1053],{"title":197,"path":198,"stem":199,"description":1052,"icon":200,"children":-1},"Automatically scrub PII from wide events before console output and drains. Built-in smart masking for credit cards, emails, IPs, phone numbers, JWTs, and more.",{"title":211,"path":212,"stem":213,"description":1054,"icon":214,"children":-1},"Automatic wide events, structured errors, drain adapters, enrichers, tail sampling, and client transport in Nuxt applications.",1778330165514]