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