[{"data":1,"prerenderedAt":499},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-installation":219,"-getting-started-installation-surround":494},[4,30,105,139,188,205],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","/getting-started","1.getting-started",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","/getting-started/quick-start","1.getting-started/3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","/getting-started/agent-skills","1.getting-started/4.agent-skills","i-lucide-sparkles",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Frameworks","/frameworks","2.frameworks",[35,40,45,50,55,60,65,70,75,80,85,90,95,100],{"title":36,"path":37,"stem":38,"icon":39},"Overview","/frameworks/overview","2.frameworks/00.overview","i-lucide-layout-grid",{"title":41,"path":42,"stem":43,"icon":44},"Nuxt","/frameworks/nuxt","2.frameworks/01.nuxt","i-simple-icons-nuxtdotjs",{"title":46,"path":47,"stem":48,"icon":49},"Next.js","/frameworks/nextjs","2.frameworks/02.nextjs","i-simple-icons-nextdotjs",{"title":51,"path":52,"stem":53,"icon":54},"SvelteKit","/frameworks/sveltekit","2.frameworks/03.sveltekit","i-simple-icons-svelte",{"title":56,"path":57,"stem":58,"icon":59},"Nitro","/frameworks/nitro","2.frameworks/04.nitro","i-custom-nitro",{"title":61,"path":62,"stem":63,"icon":64},"TanStack Start","/frameworks/tanstack-start","2.frameworks/05.tanstack-start","i-custom-tanstack",{"title":66,"path":67,"stem":68,"icon":69},"NestJS","/frameworks/nestjs","2.frameworks/06.nestjs","i-simple-icons-nestjs",{"title":71,"path":72,"stem":73,"icon":74},"Express","/frameworks/express","2.frameworks/07.express","i-simple-icons-express",{"title":76,"path":77,"stem":78,"icon":79},"Hono","/frameworks/hono","2.frameworks/08.hono","i-simple-icons-hono",{"title":81,"path":82,"stem":83,"icon":84},"Fastify","/frameworks/fastify","2.frameworks/09.fastify","i-simple-icons-fastify",{"title":86,"path":87,"stem":88,"icon":89},"Elysia","/frameworks/elysia","2.frameworks/10.elysia","i-custom-elysia",{"title":91,"path":92,"stem":93,"icon":94},"Cloudflare Workers","/frameworks/cloudflare-workers","2.frameworks/11.cloudflare-workers","i-simple-icons-cloudflare",{"title":96,"path":97,"stem":98,"icon":99},"Standalone","/frameworks/standalone","2.frameworks/12.standalone","i-simple-icons-typescript",{"title":101,"path":102,"stem":103,"icon":104},"Astro","/frameworks/astro","2.frameworks/13.astro","i-simple-icons-astro",{"title":106,"path":107,"stem":108,"children":109,"page":29},"Core Concepts","/core-concepts","3.core-concepts",[110,115,120,125,129,134],{"title":111,"path":112,"stem":113,"icon":114},"Wide Events","/core-concepts/wide-events","3.core-concepts/1.wide-events","i-lucide-layers",{"title":116,"path":117,"stem":118,"icon":119},"Structured Errors","/core-concepts/structured-errors","3.core-concepts/2.structured-errors","i-lucide-shield-alert",{"title":121,"path":122,"stem":123,"icon":124},"Best Practices","/core-concepts/best-practices","3.core-concepts/3.best-practices","i-lucide-shield-check",{"title":126,"path":127,"stem":128,"icon":99},"Typed Fields","/core-concepts/typed-fields","3.core-concepts/4.typed-fields",{"title":130,"path":131,"stem":132,"icon":133},"Sampling","/core-concepts/sampling","3.core-concepts/5.sampling","i-lucide-filter",{"title":135,"path":136,"stem":137,"icon":138},"Client Logging","/core-concepts/client-logging","3.core-concepts/6.client-logging","i-lucide-monitor",{"title":140,"path":141,"stem":142,"children":143,"page":29},"Adapters","/adapters","4.adapters",[144,148,153,158,163,168,173,178,183],{"title":36,"path":145,"stem":146,"icon":147},"/adapters/overview","4.adapters/1.overview","i-custom-plug",{"title":149,"path":150,"stem":151,"icon":152},"Axiom","/adapters/axiom","4.adapters/2.axiom","i-custom-axiom",{"title":154,"path":155,"stem":156,"icon":157},"OTLP","/adapters/otlp","4.adapters/3.otlp","i-simple-icons-opentelemetry",{"title":159,"path":160,"stem":161,"icon":162},"PostHog","/adapters/posthog","4.adapters/4.posthog","i-simple-icons-posthog",{"title":164,"path":165,"stem":166,"icon":167},"Sentry","/adapters/sentry","4.adapters/5.sentry","i-simple-icons-sentry",{"title":169,"path":170,"stem":171,"icon":172},"Better Stack","/adapters/better-stack","4.adapters/6.better-stack","i-simple-icons-betterstack",{"title":174,"path":175,"stem":176,"icon":177},"Custom Adapters","/adapters/custom","4.adapters/7.custom","i-lucide-code",{"title":179,"path":180,"stem":181,"icon":182},"Pipeline","/adapters/pipeline","4.adapters/8.pipeline","i-lucide-workflow",{"title":184,"path":185,"stem":186,"icon":187},"Browser","/adapters/browser","4.adapters/9.browser","i-lucide-globe",{"title":189,"path":190,"stem":191,"children":192,"page":29},"Enrichers","/enrichers","5.enrichers",[193,196,201],{"title":36,"path":194,"stem":195,"icon":28},"/enrichers/overview","5.enrichers/1.overview",{"title":197,"path":198,"stem":199,"icon":200},"Built-in","/enrichers/built-in","5.enrichers/2.built-in","i-lucide-puzzle",{"title":202,"path":203,"stem":204,"icon":177},"Custom","/enrichers/custom","5.enrichers/3.custom",{"title":206,"path":207,"stem":208,"children":209,"page":29},"NuxtHub","/nuxthub","6.nuxthub",[210,214],{"title":36,"path":211,"stem":212,"icon":213},"/nuxthub/overview","6.nuxthub/1.overview","i-lucide-database",{"title":215,"path":216,"stem":217,"icon":218},"Retention","/nuxthub/retention","6.nuxthub/2.retention","i-lucide-clock",{"id":220,"title":221,"body":222,"description":485,"extension":486,"links":487,"meta":490,"navigation":491,"path":16,"seo":492,"stem":17,"__hash__":493},"docs/1.getting-started/2.installation.md","Install evlog",{"type":223,"value":224,"toc":475},"minimark",[225,229,234,306,311,314,333,340,344,347,421,436,440,443,448,452,471],[226,227,228],"p",{},"evlog supports Nuxt, Next.js, SvelteKit, Nitro, NestJS, and any TypeScript server framework.",[230,231,233],"h2",{"id":232},"install","Install",[235,236,237,263,278,292],"code-group",{},[238,239,245],"pre",{"className":240,"code":241,"filename":242,"language":243,"meta":244,"style":244},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add evlog\n","pnpm","bash","",[246,247,248],"code",{"__ignoreMap":244},[249,250,253,256,260],"span",{"class":251,"line":252},"line",1,[249,254,242],{"class":255},"sBMFI",[249,257,259],{"class":258},"sfazB"," add",[249,261,262],{"class":258}," evlog\n",[238,264,267],{"className":240,"code":265,"filename":266,"language":243,"meta":244,"style":244},"npm install evlog\n","npm",[246,268,269],{"__ignoreMap":244},[249,270,271,273,276],{"class":251,"line":252},[249,272,266],{"class":255},[249,274,275],{"class":258}," install",[249,277,262],{"class":258},[238,279,282],{"className":240,"code":280,"filename":281,"language":243,"meta":244,"style":244},"yarn add evlog\n","yarn",[246,283,284],{"__ignoreMap":244},[249,285,286,288,290],{"class":251,"line":252},[249,287,281],{"class":255},[249,289,259],{"class":258},[249,291,262],{"class":258},[238,293,296],{"className":240,"code":294,"filename":295,"language":243,"meta":244,"style":244},"bun add evlog\n","bun",[246,297,298],{"__ignoreMap":244},[249,299,300,302,304],{"class":251,"line":252},[249,301,295],{"class":255},[249,303,259],{"class":258},[249,305,262],{"class":258},[307,308,310],"h3",{"id":309},"using-agent-skills","Using Agent Skills",[226,312,313],{},"If you use an AI assistant (Claude Code, Cursor, etc.), install the evlog skill for guided setup and code review:",[238,315,318],{"className":240,"code":316,"filename":317,"language":243,"meta":244,"style":244},"npx skills add hugorcd/evlog\n","Terminal",[246,319,320],{"__ignoreMap":244},[249,321,322,325,328,330],{"class":251,"line":252},[249,323,324],{"class":255},"npx",[249,326,327],{"class":258}," skills",[249,329,259],{"class":258},[249,331,332],{"class":258}," hugorcd/evlog\n",[226,334,335,336,339],{},"Your AI assistant can then help you set up evlog, review your logging patterns, and migrate existing code to wide events. See ",[337,338,25],"a",{"href":26}," for details.",[230,341,343],{"id":342},"choose-your-framework","Choose Your Framework",[226,345,346],{},"After installing the package, follow the setup guide for your framework:",[348,349,350,367,377,383,386,389,395,401,406,412,418],"card-group",{},[351,352,354,355,358,359,362,363,366],"card",{"color":353,"icon":44,"title":41,"to":42},"neutral","Module with auto-imported ",[246,356,357],{},"useLogger",", ",[246,360,361],{},"createError",", and ",[246,364,365],{},"parseError",".",[351,368,369,372,373,376],{"color":353,"icon":49,"title":46,"to":47},[246,370,371],{},"createEvlog()"," factory with ",[246,374,375],{},"withEvlog()"," handler wrapper.",[351,378,379,380,366],{"color":353,"icon":54,"title":51,"to":52},"Handle and handleError hooks with ",[246,381,382],{},"event.locals.log",[351,384,385],{"color":353,"icon":59,"title":56,"to":57},"Module for Nitro v2 and v3 with plugin-based hooks.",[351,387,388],{"color":353,"icon":64,"title":61,"to":62},"Uses Nitro v3 module with async context.",[351,390,391,394],{"color":353,"icon":69,"title":66,"to":67},[246,392,393],{},"EvlogModule.forRoot()"," with global middleware.",[351,396,397,398,366],{"color":353,"icon":74,"title":71,"to":72},"Middleware with ",[246,399,400],{},"req.log",[351,402,397,403,366],{"color":353,"icon":79,"title":76,"to":77},[246,404,405],{},"c.get('log')",[351,407,408,409,366],{"color":353,"icon":84,"title":81,"to":82},"Plugin with ",[246,410,411],{},"request.log",[351,413,408,414,417],{"color":353,"icon":89,"title":86,"to":87},[246,415,416],{},"log"," in route context.",[351,419,420],{"color":353,"icon":94,"title":91,"to":92},"Factory for request-scoped loggers.",[422,423,425,426,429,430,433,434,366],"callout",{"color":353,"icon":424},"i-lucide-arrow-right","See the full ",[337,427,428],{"href":37},"Framework Integrations"," page for a comparison table and all available integrations including ",[337,431,432],{"href":97},"Standalone TypeScript"," and ",[337,435,101],{"href":102},[230,437,439],{"id":438},"typescript-configuration","TypeScript Configuration",[226,441,442],{},"evlog ships with full TypeScript type definitions. No additional configuration is required.",[422,444,447],{"color":445,"icon":446},"success","i-lucide-check","evlog requires TypeScript 5.0 or higher for optimal type inference.",[230,449,451],{"id":450},"next-steps","Next Steps",[453,454,455,461,466],"ul",{},[456,457,458,460],"li",{},[337,459,20],{"href":21}," — Learn the core concepts and start using evlog",[456,462,463,465],{},[337,464,111],{"href":112}," — Understand the wide event pattern",[456,467,468,470],{},[337,469,140],{"href":145}," — Send logs to Axiom, PostHog, Sentry, and more",[472,473,474],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":244,"searchDepth":476,"depth":476,"links":477},2,[478,482,483,484],{"id":232,"depth":476,"text":233,"children":479},[480],{"id":309,"depth":481,"text":310},3,{"id":342,"depth":476,"text":343},{"id":438,"depth":476,"text":439},{"id":450,"depth":476,"text":451},"Install evlog in your TypeScript project.","md",[488],{"label":31,"icon":39,"to":37,"color":353,"variant":489},"subtle",{},{"title":15,"icon":18},{"title":221,"description":485},"_gdMbO1Uckv--uxW2lsosOXNC8Up2VLm443SDZ7AjWU",[495,497],{"title":10,"path":11,"stem":12,"description":496,"icon":13,"children":-1},"A TypeScript logging library focused on wide events and structured error handling. Replace scattered logs with one comprehensive event per request.",{"title":20,"path":21,"stem":22,"description":498,"icon":23,"children":-1},"Get up and running with evlog in minutes. Learn useLogger, createError, parseError, and the log API for wide events and structured errors.",1772991600336]