[{"data":1,"prerenderedAt":727},["ShallowReactive",2],{"navigation_docs":3,"-frameworks-overview":238,"-frameworks-overview-surround":722},[4,30,110,154,208,224],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","\u002Fgetting-started","1.getting-started",[9,14,19,24],{"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",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Frameworks","\u002Fframeworks","2.frameworks",[35,40,45,50,55,60,65,70,75,80,85,90,95,100,105],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Fframeworks\u002Foverview","2.frameworks\u002F00.overview","i-lucide-layout-grid",{"title":41,"path":42,"stem":43,"icon":44},"Nuxt","\u002Fframeworks\u002Fnuxt","2.frameworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":46,"path":47,"stem":48,"icon":49},"Next.js","\u002Fframeworks\u002Fnextjs","2.frameworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":51,"path":52,"stem":53,"icon":54},"SvelteKit","\u002Fframeworks\u002Fsveltekit","2.frameworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":56,"path":57,"stem":58,"icon":59},"Nitro","\u002Fframeworks\u002Fnitro","2.frameworks\u002F04.nitro","i-custom-nitro",{"title":61,"path":62,"stem":63,"icon":64},"TanStack Start","\u002Fframeworks\u002Ftanstack-start","2.frameworks\u002F05.tanstack-start","i-custom-tanstack",{"title":66,"path":67,"stem":68,"icon":69},"NestJS","\u002Fframeworks\u002Fnestjs","2.frameworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":71,"path":72,"stem":73,"icon":74},"Express","\u002Fframeworks\u002Fexpress","2.frameworks\u002F07.express","i-simple-icons-express",{"title":76,"path":77,"stem":78,"icon":79},"Hono","\u002Fframeworks\u002Fhono","2.frameworks\u002F08.hono","i-simple-icons-hono",{"title":81,"path":82,"stem":83,"icon":84},"Fastify","\u002Fframeworks\u002Ffastify","2.frameworks\u002F09.fastify","i-simple-icons-fastify",{"title":86,"path":87,"stem":88,"icon":89},"Elysia","\u002Fframeworks\u002Felysia","2.frameworks\u002F10.elysia","i-custom-elysia",{"title":91,"path":92,"stem":93,"icon":94},"Cloudflare Workers","\u002Fframeworks\u002Fcloudflare-workers","2.frameworks\u002F11.cloudflare-workers","i-simple-icons-cloudflare",{"title":96,"path":97,"stem":98,"icon":99},"Standalone","\u002Fframeworks\u002Fstandalone","2.frameworks\u002F12.standalone","i-simple-icons-typescript",{"title":101,"path":102,"stem":103,"icon":104},"Astro","\u002Fframeworks\u002Fastro","2.frameworks\u002F13.astro","i-simple-icons-astro",{"title":106,"path":107,"stem":108,"icon":109},"Custom Integration","\u002Fframeworks\u002Fcustom-integration","2.frameworks\u002F14.custom-integration","i-lucide-puzzle",{"title":111,"path":112,"stem":113,"children":114,"page":29},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[115,120,125,130,135,139,144,149],{"title":116,"path":117,"stem":118,"icon":119},"Request Lifecycle","\u002Fcore-concepts\u002Flifecycle","3.core-concepts\u002F0.lifecycle","i-lucide-arrow-right-left",{"title":121,"path":122,"stem":123,"icon":124},"Wide Events","\u002Fcore-concepts\u002Fwide-events","3.core-concepts\u002F1.wide-events","i-lucide-layers",{"title":126,"path":127,"stem":128,"icon":129},"Structured Errors","\u002Fcore-concepts\u002Fstructured-errors","3.core-concepts\u002F2.structured-errors","i-lucide-shield-alert",{"title":131,"path":132,"stem":133,"icon":134},"Best Practices","\u002Fcore-concepts\u002Fbest-practices","3.core-concepts\u002F3.best-practices","i-lucide-shield-check",{"title":136,"path":137,"stem":138,"icon":99},"Typed Fields","\u002Fcore-concepts\u002Ftyped-fields","3.core-concepts\u002F4.typed-fields",{"title":140,"path":141,"stem":142,"icon":143},"Sampling","\u002Fcore-concepts\u002Fsampling","3.core-concepts\u002F5.sampling","i-lucide-filter",{"title":145,"path":146,"stem":147,"icon":148},"Client Logging","\u002Fcore-concepts\u002Fclient-logging","3.core-concepts\u002F6.client-logging","i-lucide-monitor",{"title":150,"path":151,"stem":152,"icon":153},"Configuration","\u002Fcore-concepts\u002Fconfiguration","3.core-concepts\u002F7.configuration","i-lucide-settings",{"title":155,"path":156,"stem":157,"children":158,"page":29},"Adapters","\u002Fadapters","4.adapters",[159,163,168,173,178,183,188,193,198,203],{"title":36,"path":160,"stem":161,"icon":162},"\u002Fadapters\u002Foverview","4.adapters\u002F1.overview","i-custom-plug",{"title":164,"path":165,"stem":166,"icon":167},"Browser","\u002Fadapters\u002Fbrowser","4.adapters\u002F10.browser","i-lucide-globe",{"title":169,"path":170,"stem":171,"icon":172},"Axiom","\u002Fadapters\u002Faxiom","4.adapters\u002F2.axiom","i-custom-axiom",{"title":174,"path":175,"stem":176,"icon":177},"OTLP","\u002Fadapters\u002Fotlp","4.adapters\u002F3.otlp","i-simple-icons-opentelemetry",{"title":179,"path":180,"stem":181,"icon":182},"PostHog","\u002Fadapters\u002Fposthog","4.adapters\u002F4.posthog","i-simple-icons-posthog",{"title":184,"path":185,"stem":186,"icon":187},"Sentry","\u002Fadapters\u002Fsentry","4.adapters\u002F5.sentry","i-simple-icons-sentry",{"title":189,"path":190,"stem":191,"icon":192},"Better Stack","\u002Fadapters\u002Fbetter-stack","4.adapters\u002F6.better-stack","i-simple-icons-betterstack",{"title":194,"path":195,"stem":196,"icon":197},"File System","\u002Fadapters\u002Ffs","4.adapters\u002F7.fs","i-lucide-hard-drive",{"title":199,"path":200,"stem":201,"icon":202},"Custom Adapters","\u002Fadapters\u002Fcustom","4.adapters\u002F8.custom","i-lucide-code",{"title":204,"path":205,"stem":206,"icon":207},"Pipeline","\u002Fadapters\u002Fpipeline","4.adapters\u002F9.pipeline","i-lucide-workflow",{"title":209,"path":210,"stem":211,"children":212,"page":29},"Enrichers","\u002Fenrichers","5.enrichers",[213,216,220],{"title":36,"path":214,"stem":215,"icon":28},"\u002Fenrichers\u002Foverview","5.enrichers\u002F1.overview",{"title":217,"path":218,"stem":219,"icon":109},"Built-in","\u002Fenrichers\u002Fbuilt-in","5.enrichers\u002F2.built-in",{"title":221,"path":222,"stem":223,"icon":202},"Custom","\u002Fenrichers\u002Fcustom","5.enrichers\u002F3.custom",{"title":225,"path":226,"stem":227,"children":228,"page":29},"NuxtHub","\u002Fnuxthub","6.nuxthub",[229,233],{"title":36,"path":230,"stem":231,"icon":232},"\u002Fnuxthub\u002Foverview","6.nuxthub\u002F1.overview","i-lucide-database",{"title":234,"path":235,"stem":236,"icon":237},"Retention","\u002Fnuxthub\u002Fretention","6.nuxthub\u002F2.retention","i-lucide-clock",{"id":239,"title":240,"body":241,"description":715,"extension":716,"links":717,"meta":718,"navigation":719,"path":37,"seo":720,"stem":38,"__hash__":721},"docs\u002F2.frameworks\u002F00.overview.md","Framework Integrations",{"type":242,"value":243,"toc":708},"minimark",[244,260,264,593,597,644,648,688],[245,246,247,248,252,253,252,256,259],"p",{},"evlog provides native integrations for every major TypeScript framework. The same core API (",[249,250,251],"code",{},"log.set()",", ",[249,254,255],{},"createError()",[249,257,258],{},"parseError()",") works identically everywhere. Only the setup differs.",[261,262,36],"h2",{"id":263},"overview",[265,266,267,289],"table",{},[268,269,270],"thead",{},[271,272,273,277,280,283,286],"tr",{},[274,275,276],"th",{},"Framework",[274,278,279],{},"Import",[274,281,282],{},"Type",[274,284,285],{},"Logger Access",[274,287,288],{},"Status",[290,291,292,316,337,361,380,400,419,442,462,485,508,528,552,571],"tbody",{},[271,293,294,300,305,308,313],{},[295,296,297],"td",{},[298,299,41],"a",{"href":42},[295,301,302],{},[249,303,304],{},"evlog\u002Fnuxt",[295,306,307],{},"Module",[295,309,310],{},[249,311,312],{},"useLogger(event)",[295,314,315],{},"Stable",[271,317,318,322,327,330,335],{},[295,319,320],{},[298,321,46],{"href":47},[295,323,324],{},[249,325,326],{},"evlog\u002Fnext",[295,328,329],{},"Factory",[295,331,332],{},[249,333,334],{},"useLogger()",[295,336,315],{},[271,338,339,343,348,351,359],{},[295,340,341],{},[298,342,51],{"href":52},[295,344,345],{},[249,346,347],{},"evlog\u002Fsveltekit",[295,349,350],{},"Hooks",[295,352,353,356,357],{},[249,354,355],{},"event.locals.log"," \u002F ",[249,358,334],{},[295,360,315],{},[271,362,363,367,372,374,378],{},[295,364,365],{},[298,366,56],{"href":57},[295,368,369],{},[249,370,371],{},"evlog\u002Fnitro",[295,373,307],{},[295,375,376],{},[249,377,312],{},[295,379,315],{},[271,381,382,386,391,393,398],{},[295,383,384],{},[298,385,61],{"href":62},[295,387,388],{},[249,389,390],{},"evlog\u002Fnitro\u002Fv3",[295,392,307],{},[295,394,395],{},[249,396,397],{},"useRequest().context.log",[295,399,315],{},[271,401,402,406,411,413,417],{},[295,403,404],{},[298,405,66],{"href":67},[295,407,408],{},[249,409,410],{},"evlog\u002Fnestjs",[295,412,307],{},[295,414,415],{},[249,416,334],{},[295,418,315],{},[271,420,421,425,430,433,440],{},[295,422,423],{},[298,424,71],{"href":72},[295,426,427],{},[249,428,429],{},"evlog\u002Fexpress",[295,431,432],{},"Middleware",[295,434,435,356,438],{},[249,436,437],{},"req.log",[249,439,334],{},[295,441,315],{},[271,443,444,448,453,455,460],{},[295,445,446],{},[298,447,76],{"href":77},[295,449,450],{},[249,451,452],{},"evlog\u002Fhono",[295,454,432],{},[295,456,457],{},[249,458,459],{},"c.get('log')",[295,461,315],{},[271,463,464,468,473,476,483],{},[295,465,466],{},[298,467,81],{"href":82},[295,469,470],{},[249,471,472],{},"evlog\u002Ffastify",[295,474,475],{},"Plugin",[295,477,478,356,481],{},[249,479,480],{},"request.log",[249,482,334],{},[295,484,315],{},[271,486,487,491,496,498,506],{},[295,488,489],{},[298,490,86],{"href":87},[295,492,493],{},[249,494,495],{},"evlog\u002Felysia",[295,497,475],{},[295,499,500,503,504],{},[249,501,502],{},"log"," (context) \u002F ",[249,505,334],{},[295,507,315],{},[271,509,510,514,519,521,526],{},[295,511,512],{},[298,513,91],{"href":92},[295,515,516],{},[249,517,518],{},"evlog\u002Fworkers",[295,520,329],{},[295,522,523],{},[249,524,525],{},"createWorkersLogger()",[295,527,315],{},[271,529,530,534,539,542,550],{},[295,531,532],{},[298,533,96],{"href":97},[295,535,536],{},[249,537,538],{},"evlog",[295,540,541],{},"Manual",[295,543,544,356,547],{},[249,545,546],{},"createLogger()",[249,548,549],{},"createRequestLogger()",[295,551,315],{},[271,553,554,558,562,564,568],{},[295,555,556],{},[298,557,101],{"href":102},[295,559,560],{},[249,561,538],{},[295,563,541],{},[295,565,566],{},[249,567,549],{},[295,569,570],{},"Guide",[271,572,573,577,582,585,590],{},[295,574,575],{},[298,576,221],{"href":107},[295,578,579],{},[249,580,581],{},"evlog\u002Ftoolkit",[295,583,584],{},"Build your own",[295,586,587],{},[249,588,589],{},"createMiddlewareLogger()",[295,591,592],{},"Beta",[261,594,596],{"id":595},"full-stack-frameworks","Full-Stack Frameworks",[598,599,600,616,626,632,635,638],"card-group",{},[601,602,604,605,252,608,611,612,615],"card",{"color":603,"icon":44,"title":41,"to":42},"neutral","Auto-imported ",[249,606,607],{},"useLogger",[249,609,610],{},"createError",", and ",[249,613,614],{},"parseError",". Zero config.",[601,617,618,621,622,625],{"color":603,"icon":49,"title":46,"to":47},[249,619,620],{},"createEvlog()"," factory with ",[249,623,624],{},"withEvlog()"," handler wrapper and client provider.",[601,627,628,629,631],{"color":603,"icon":54,"title":51,"to":52},"Handle and handleError hooks with request-scoped logger on ",[249,630,355],{},".",[601,633,634],{"color":603,"icon":59,"title":56,"to":57},"Module for both Nitro v2 and v3 with plugin-based drain and enrichment hooks.",[601,636,637],{"color":603,"icon":64,"title":61,"to":62},"Uses Nitro v3 module with async context for seamless logging in server functions.",[601,639,640,643],{"color":603,"icon":69,"title":66,"to":67},[249,641,642],{},"EvlogModule.forRoot()"," with global middleware, exception filter, and async config.",[261,645,647],{"id":646},"server-frameworks","Server Frameworks",[598,649,650,656,665,671,679,682,685],{},[601,651,652,653,655],{"color":603,"icon":74,"title":71,"to":72},"Middleware with ",[249,654,437],{}," and 4-argument error handler.",[601,657,658,659,661,662,631],{"color":603,"icon":79,"title":76,"to":77},"Middleware with typed ",[249,660,459],{}," via ",[249,663,664],{},"EvlogVariables",[601,666,667,668,670],{"color":603,"icon":84,"title":81,"to":82},"Plugin with ",[249,669,480],{}," that shadows Fastify's built-in pino logger.",[601,672,667,673,675,676,631],{"color":603,"icon":89,"title":86,"to":87},[249,674,502],{}," in route context via Elysia's ",[249,677,678],{},"derive",[601,680,681],{"color":603,"icon":94,"title":91,"to":92},"Factory for creating request-scoped loggers with Cloudflare-specific context.",[601,683,684],{"color":603,"icon":99,"title":96,"to":97},"For scripts, CLI tools, queues, and any TypeScript process.",[601,686,687],{"color":603,"icon":109,"title":106,"to":107},"Build your own middleware with the evlog toolkit API.",[689,690,692,693,252,696,252,699,252,702,611,705,631],"callout",{"color":691,"icon":13},"info","All frameworks support the same features: ",[298,694,695],{"href":122},"wide events",[298,697,698],{"href":127},"structured errors",[298,700,701],{"href":160},"drain adapters",[298,703,704],{"href":214},"enrichers",[298,706,707],{"href":132},"sampling",{"title":709,"searchDepth":710,"depth":710,"links":711},"",2,[712,713,714],{"id":263,"depth":710,"text":36},{"id":595,"depth":710,"text":596},{"id":646,"depth":710,"text":647},"evlog supports every major TypeScript framework. Choose your stack and get started in minutes.","md",null,{},{"title":36,"icon":39},{"title":240,"description":715},"5_lGNJkWHqyVa1KylGAtjKSflooG0-nEkbXIgB9ksq0",[723,725],{"title":25,"path":26,"stem":27,"description":724,"icon":28,"children":-1},"AI-assisted code review and evlog adoption using Agent Skills. Let AI review your logging patterns and guide migration to wide events.",{"title":41,"path":42,"stem":43,"description":726,"icon":44,"children":-1},"Automatic wide events, structured errors, drain adapters, enrichers, tail sampling, and client transport in Nuxt applications.",1773504115260]