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