[{"data":1,"prerenderedAt":1026},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-overview":392,"-frameworks-overview-surround":1021},[4,35,159,201,289,376],{"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},"Adapters","\u002Fadapters","6.adapters",[294,297,337,352],{"title":41,"path":295,"stem":296,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":298,"path":299,"stem":300,"children":301,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[302,307,312,317,322,327,332],{"title":303,"path":304,"stem":305,"icon":306},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":308,"path":309,"stem":310,"icon":311},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":313,"path":314,"stem":315,"icon":316},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":318,"path":319,"stem":320,"icon":321},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":323,"path":324,"stem":325,"icon":326},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":328,"path":329,"stem":330,"icon":331},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":333,"path":334,"stem":335,"icon":336},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":338,"path":339,"stem":340,"children":341,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[342,347],{"title":343,"path":344,"stem":345,"icon":346},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":348,"path":349,"stem":350,"icon":351},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":353,"path":354,"stem":355,"children":356,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[357,362,367,371],{"title":358,"path":359,"stem":360,"icon":361},"Pipeline","\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline","i-lucide-workflow",{"title":363,"path":364,"stem":365,"icon":366},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":368,"path":369,"stem":370,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":372,"path":373,"stem":374,"icon":375},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":377,"path":378,"stem":379,"children":380,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[381,384,388],{"title":41,"path":382,"stem":383,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":385,"path":386,"stem":387,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":389,"path":390,"stem":391,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":393,"title":394,"body":395,"description":1014,"extension":1015,"links":1016,"meta":1017,"navigation":1018,"path":207,"seo":1019,"stem":208,"__hash__":1020},"docs\u002F4.frameworks\u002F00.overview.md","Framework Integrations",{"type":396,"value":397,"toc":1006},"minimark",[398,414,427,431,818,822,877,881,930,952,955,965,1000],[399,400,401,402,406,407,406,410,413],"p",{},"evlog provides native integrations for every major TypeScript framework. The same core API (",[403,404,405],"code",{},"log.set()",", ",[403,408,409],{},"createError()",[403,411,412],{},"parseError()",") works identically everywhere. Only the setup differs.",[415,416,418,419,423,424,426],"callout",{"color":417,"icon":366},"neutral","No HTTP framework? Use ",[420,421,422],"a",{"href":272},"Standalone TypeScript"," for scripts, libraries, and workers, and ",[420,425,266],{"href":267}," on the edge.",[428,429,41],"h2",{"id":430},"overview",[432,433,434,456],"table",{},[435,436,437],"thead",{},[438,439,440,444,447,450,453],"tr",{},[441,442,443],"th",{},"Framework",[441,445,446],{},"Import",[441,448,449],{},"Type",[441,451,452],{},"Logger Access",[441,454,455],{},"Status",[457,458,459,482,503,527,546,566,584,606,625,647,667,690,713,733,758,778,796],"tbody",{},[438,460,461,466,471,474,479],{},[462,463,464],"td",{},[420,465,211],{"href":212},[462,467,468],{},[403,469,470],{},"evlog\u002Fnuxt",[462,472,473],{},"Module",[462,475,476],{},[403,477,478],{},"useLogger(event)",[462,480,481],{},"Stable",[438,483,484,488,493,496,501],{},[462,485,486],{},[420,487,216],{"href":217},[462,489,490],{},[403,491,492],{},"evlog\u002Fnext",[462,494,495],{},"Factory",[462,497,498],{},[403,499,500],{},"useLogger()",[462,502,481],{},[438,504,505,509,514,517,525],{},[462,506,507],{},[420,508,221],{"href":222},[462,510,511],{},[403,512,513],{},"evlog\u002Fsveltekit",[462,515,516],{},"Hooks",[462,518,519,522,523],{},[403,520,521],{},"event.locals.log"," \u002F ",[403,524,500],{},[462,526,481],{},[438,528,529,533,538,540,544],{},[462,530,531],{},[420,532,226],{"href":227},[462,534,535],{},[403,536,537],{},"evlog\u002Fnitro",[462,539,473],{},[462,541,542],{},[403,543,478],{},[462,545,481],{},[438,547,548,552,557,559,564],{},[462,549,550],{},[420,551,231],{"href":232},[462,553,554],{},[403,555,556],{},"evlog\u002Fnitro\u002Fv3",[462,558,473],{},[462,560,561],{},[403,562,563],{},"useRequest().context.log",[462,565,481],{},[438,567,568,573,577,579,582],{},[462,569,570],{},[420,571,572],{"href":232},"TanStack Router",[462,574,575],{},[403,576,556],{},[462,578,473],{},[462,580,581],{},"Via TanStack Start (uses Nitro v3)",[462,583,481],{},[438,585,586,590,595,597,604],{},[462,587,588],{},[420,589,261],{"href":262},[462,591,592],{},[403,593,594],{},"evlog\u002Freact-router",[462,596,114],{},[462,598,599,522,602],{},[403,600,601],{},"context.get(loggerContext)",[403,603,500],{},[462,605,481],{},[438,607,608,612,617,619,623],{},[462,609,610],{},[420,611,236],{"href":237},[462,613,614],{},[403,615,616],{},"evlog\u002Fnestjs",[462,618,473],{},[462,620,621],{},[403,622,500],{},[462,624,481],{},[438,626,627,631,636,638,645],{},[462,628,629],{},[420,630,241],{"href":242},[462,632,633],{},[403,634,635],{},"evlog\u002Fexpress",[462,637,114],{},[462,639,640,522,643],{},[403,641,642],{},"req.log",[403,644,500],{},[462,646,481],{},[438,648,649,653,658,660,665],{},[462,650,651],{},[420,652,246],{"href":247},[462,654,655],{},[403,656,657],{},"evlog\u002Fhono",[462,659,114],{},[462,661,662],{},[403,663,664],{},"c.get('log')",[462,666,481],{},[438,668,669,673,678,681,688],{},[462,670,671],{},[420,672,251],{"href":252},[462,674,675],{},[403,676,677],{},"evlog\u002Ffastify",[462,679,680],{},"Plugin",[462,682,683,522,686],{},[403,684,685],{},"request.log",[403,687,500],{},[462,689,481],{},[438,691,692,696,701,703,711],{},[462,693,694],{},[420,695,256],{"href":257},[462,697,698],{},[403,699,700],{},"evlog\u002Felysia",[462,702,680],{},[462,704,705,708,709],{},[403,706,707],{},"log"," (context) \u002F ",[403,710,500],{},[462,712,481],{},[438,714,715,719,724,726,731],{},[462,716,717],{},[420,718,266],{"href":267},[462,720,721],{},[403,722,723],{},"evlog\u002Fworkers",[462,725,495],{},[462,727,728],{},[403,729,730],{},"createWorkersLogger()",[462,732,481],{},[438,734,735,739,744,747,755],{},[462,736,737],{},[420,738,280],{"href":281},[462,740,741],{},[403,742,743],{},"evlog",[462,745,746],{},"Manual",[462,748,749,522,752],{},[403,750,751],{},"createLogger()",[403,753,754],{},"createRequestLogger()",[462,756,757],{},"Guide",[438,759,760,764,768,770,776],{},[462,761,762],{},[420,763,271],{"href":272},[462,765,766],{},[403,767,743],{},[462,769,746],{},[462,771,772,522,774],{},[403,773,751],{},[403,775,754],{},[462,777,481],{},[438,779,780,784,788,790,794],{},[462,781,782],{},[420,783,275],{"href":276},[462,785,786],{},[403,787,743],{},[462,789,746],{},[462,791,792],{},[403,793,754],{},[462,795,757],{},[438,797,798,802,807,810,815],{},[462,799,800],{},[420,801,389],{"href":286},[462,803,804],{},[403,805,806],{},"evlog\u002Ftoolkit",[462,808,809],{},"Build your own",[462,811,812],{},[403,813,814],{},"createMiddlewareLogger()",[462,816,817],{},"Beta",[428,819,821],{"id":820},"full-stack-frameworks","Full-Stack Frameworks",[823,824,825,840,850,856,859,862,871],"card-group",{},[826,827,828,829,406,832,835,836,839],"card",{"color":417,"icon":214,"title":211,"to":212},"Auto-imported ",[403,830,831],{},"useLogger",[403,833,834],{},"createError",", and ",[403,837,838],{},"parseError",". Zero config.",[826,841,842,845,846,849],{"color":417,"icon":219,"title":216,"to":217},[403,843,844],{},"createEvlog()"," factory with ",[403,847,848],{},"withEvlog()"," handler wrapper and client provider.",[826,851,852,853,855],{"color":417,"icon":224,"title":221,"to":222},"Handle and handleError hooks with request-scoped logger on ",[403,854,521],{},".",[826,857,858],{"color":417,"icon":229,"title":226,"to":227},"Module for both Nitro v2 and v3 with plugin-based drain and enrichment hooks.",[826,860,861],{"color":417,"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).",[826,863,864,865,867,868,870],{"color":417,"icon":264,"title":261,"to":262},"Middleware with ",[403,866,601],{}," and ",[403,869,500],{}," for loaders and services.",[826,872,873,876],{"color":417,"icon":239,"title":236,"to":237},[403,874,875],{},"EvlogModule.forRoot()"," with global middleware, exception filter, and async config.",[428,878,880],{"id":879},"server-frameworks","Server Frameworks",[823,882,883,888,897,903,911,914,924,927],{},[826,884,864,885,887],{"color":417,"icon":244,"title":241,"to":242},[403,886,642],{}," and 4-argument error handler.",[826,889,890,891,893,894,855],{"color":417,"icon":249,"title":246,"to":247},"Middleware with typed ",[403,892,664],{}," via ",[403,895,896],{},"EvlogVariables",[826,898,899,900,902],{"color":417,"icon":254,"title":251,"to":252},"Plugin with ",[403,901,685],{}," that shadows Fastify's built-in pino logger.",[826,904,899,905,907,908,855],{"color":417,"icon":259,"title":256,"to":257},[403,906,707],{}," in route context via Elysia's ",[403,909,910],{},"derive",[826,912,913],{"color":417,"icon":269,"title":266,"to":267},"Factory for creating request-scoped loggers with Cloudflare-specific context.",[826,915,916,919,920,923],{"color":417,"icon":283,"title":280,"to":281},[403,917,918],{},"initLogger"," once per runtime; ",[403,921,922],{},"createLogger"," per invocation (SQS, events, HTTP API).",[826,925,926],{"color":417,"icon":183,"title":271,"to":272},"For scripts, CLI tools, queues, and any TypeScript process.",[826,928,929],{"color":417,"icon":288,"title":285,"to":286},"Build your own middleware with the evlog toolkit API.",[415,931,933,934,406,937,406,940,406,943,406,946,835,949,855],{"color":932,"icon":13},"info","All frameworks support the same features: ",[420,935,936],{"href":52},"wide events",[420,938,939],{"href":57},"structured errors",[420,941,942],{"href":295},"drain adapters",[420,944,945],{"href":382},"enrichers",[420,947,948],{"href":176},"sampling",[420,950,951],{"href":77},"AI SDK integration",[428,953,192],{"id":954},"vite-plugin",[399,956,957,958,964],{},"For any Vite-based project, the ",[420,959,960,963],{"href":193},[403,961,962],{},"evlog\u002Fvite"," plugin"," adds build-time optimizations:",[966,967,968,980,990],"ul",{},[969,970,971,975,976,979],"li",{},[972,973,974],"strong",{},"Auto-initialization",": no ",[403,977,978],{},"initLogger()"," call needed",[969,981,982,985,986,989],{},[972,983,984],{},"Debug stripping",": ",[403,987,988],{},"log.debug()"," removed from production builds",[969,991,992,995,996,999],{},[972,993,994],{},"Source location",": inject ",[403,997,998],{},"__source: 'file:line'"," into log calls",[399,1001,1002,1003,1005],{},"Works with SvelteKit, Hono (via vite-node), and any Vite-powered setup. Nuxt users get these features via the ",[403,1004,470],{}," module options.",{"title":1007,"searchDepth":1008,"depth":1008,"links":1009},"",2,[1010,1011,1012,1013],{"id":430,"depth":1008,"text":41},{"id":820,"depth":1008,"text":821},{"id":879,"depth":1008,"text":880},{"id":954,"depth":1008,"text":192},"evlog supports every major TypeScript framework. Choose your stack and get started in minutes.","md",null,{},{"title":41,"icon":209},{"title":394,"description":1014},"6-aGENqWWWwQ7dTNr-FfcYPyZWzbZACGxVtZHsyFE24",[1022,1024],{"title":197,"path":198,"stem":199,"description":1023,"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":1025,"icon":214,"children":-1},"Automatic wide events, structured errors, drain adapters, enrichers, tail sampling, and client transport in Nuxt applications.",1778106394712]