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