[{"data":1,"prerenderedAt":765},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-agent-skills":301,"-getting-started-agent-skills-surround":760},[4,30,75,119,207,271,287],{"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},"Logging","\u002Flogging","2.logging",[35,40,45,50,55,60,65,70],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Flogging\u002Foverview","2.logging\u002F0.overview","i-lucide-list",{"title":41,"path":42,"stem":43,"icon":44},"Simple Logging","\u002Flogging\u002Fsimple-logging","2.logging\u002F1.simple-logging","i-lucide-terminal",{"title":46,"path":47,"stem":48,"icon":49},"Wide Events","\u002Flogging\u002Fwide-events","2.logging\u002F2.wide-events","i-lucide-layers",{"title":51,"path":52,"stem":53,"icon":54},"Structured Errors","\u002Flogging\u002Fstructured-errors","2.logging\u002F3.structured-errors","i-lucide-shield-alert",{"title":56,"path":57,"stem":58,"icon":59},"Client Logging","\u002Flogging\u002Fclient-logging","2.logging\u002F4.client-logging","i-lucide-monitor",{"title":61,"path":62,"stem":63,"icon":64},"AI SDK Integration","\u002Flogging\u002Fai-sdk","2.logging\u002F5.ai-sdk","i-simple-icons-vercel",{"title":66,"path":67,"stem":68,"icon":69},"Better Auth Integration","\u002Flogging\u002Fbetter-auth","2.logging\u002F6.better-auth","i-simple-icons-betterauth",{"title":71,"path":72,"stem":73,"icon":74},"Audit Logs","\u002Flogging\u002Faudit","2.logging\u002F7.audit","i-lucide-shield-check",{"title":76,"path":77,"stem":78,"children":79,"page":29},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[80,85,90,95,100,104,109,114],{"title":81,"path":82,"stem":83,"icon":84},"Lifecycle","\u002Fcore-concepts\u002Flifecycle","3.core-concepts\u002F0.lifecycle","i-lucide-arrow-right-left",{"title":86,"path":87,"stem":88,"icon":89},"Configuration","\u002Fcore-concepts\u002Fconfiguration","3.core-concepts\u002F1.configuration","i-lucide-settings",{"title":91,"path":92,"stem":93,"icon":94},"Sampling","\u002Fcore-concepts\u002Fsampling","3.core-concepts\u002F2.sampling","i-lucide-filter",{"title":96,"path":97,"stem":98,"icon":99},"Typed Fields","\u002Fcore-concepts\u002Ftyped-fields","3.core-concepts\u002F3.typed-fields","i-simple-icons-typescript",{"title":101,"path":102,"stem":103,"icon":74},"Best Practices","\u002Fcore-concepts\u002Fbest-practices","3.core-concepts\u002F4.best-practices",{"title":105,"path":106,"stem":107,"icon":108},"Performance","\u002Fcore-concepts\u002Fperformance","3.core-concepts\u002F5.performance","i-lucide-gauge",{"title":110,"path":111,"stem":112,"icon":113},"Vite Plugin","\u002Fcore-concepts\u002Fvite-plugin","3.core-concepts\u002F6.vite-plugin","i-custom-vite",{"title":115,"path":116,"stem":117,"icon":118},"Auto-Redaction","\u002Fcore-concepts\u002Fredaction","3.core-concepts\u002F7.redaction","i-lucide-eye-off",{"title":120,"path":121,"stem":122,"children":123,"page":29},"Frameworks","\u002Fframeworks","4.frameworks",[124,128,133,138,143,148,153,158,163,168,173,178,183,188,192,197,202],{"title":36,"path":125,"stem":126,"icon":127},"\u002Fframeworks\u002Foverview","4.frameworks\u002F00.overview","i-lucide-layout-grid",{"title":129,"path":130,"stem":131,"icon":132},"Nuxt","\u002Fframeworks\u002Fnuxt","4.frameworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":134,"path":135,"stem":136,"icon":137},"Next.js","\u002Fframeworks\u002Fnextjs","4.frameworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":139,"path":140,"stem":141,"icon":142},"SvelteKit","\u002Fframeworks\u002Fsveltekit","4.frameworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":144,"path":145,"stem":146,"icon":147},"Nitro","\u002Fframeworks\u002Fnitro","4.frameworks\u002F04.nitro","i-custom-nitro",{"title":149,"path":150,"stem":151,"icon":152},"TanStack Start","\u002Fframeworks\u002Ftanstack-start","4.frameworks\u002F05.tanstack-start","i-custom-tanstack",{"title":154,"path":155,"stem":156,"icon":157},"NestJS","\u002Fframeworks\u002Fnestjs","4.frameworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":159,"path":160,"stem":161,"icon":162},"Express","\u002Fframeworks\u002Fexpress","4.frameworks\u002F07.express","i-simple-icons-express",{"title":164,"path":165,"stem":166,"icon":167},"Hono","\u002Fframeworks\u002Fhono","4.frameworks\u002F08.hono","i-simple-icons-hono",{"title":169,"path":170,"stem":171,"icon":172},"Fastify","\u002Fframeworks\u002Ffastify","4.frameworks\u002F09.fastify","i-simple-icons-fastify",{"title":174,"path":175,"stem":176,"icon":177},"Elysia","\u002Fframeworks\u002Felysia","4.frameworks\u002F10.elysia","i-custom-elysia",{"title":179,"path":180,"stem":181,"icon":182},"React Router","\u002Fframeworks\u002Freact-router","4.frameworks\u002F11.react-router","i-custom-reactrouter",{"title":184,"path":185,"stem":186,"icon":187},"Cloudflare Workers","\u002Fframeworks\u002Fcloudflare-workers","4.frameworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":189,"path":190,"stem":191,"icon":99},"Standalone","\u002Fframeworks\u002Fstandalone","4.frameworks\u002F13.standalone",{"title":193,"path":194,"stem":195,"icon":196},"Astro","\u002Fframeworks\u002Fastro","4.frameworks\u002F14.astro","i-simple-icons-astro",{"title":198,"path":199,"stem":200,"icon":201},"Custom Integration","\u002Fframeworks\u002Fcustom-integration","4.frameworks\u002F15.custom-integration","i-lucide-puzzle",{"title":203,"path":204,"stem":205,"icon":206},"AWS Lambda","\u002Fframeworks\u002Faws-lambda","4.frameworks\u002F16.aws-lambda","i-custom-lambda",{"title":208,"path":209,"stem":210,"children":211,"page":29},"Adapters","\u002Fadapters","5.adapters",[212,216,221,226,231,236,241,246,251,256,261,266],{"title":36,"path":213,"stem":214,"icon":215},"\u002Fadapters\u002Foverview","5.adapters\u002F1.overview","i-custom-plug",{"title":217,"path":218,"stem":219,"icon":220},"Custom Adapters","\u002Fadapters\u002Fcustom","5.adapters\u002F10.custom","i-lucide-code",{"title":222,"path":223,"stem":224,"icon":225},"Pipeline","\u002Fadapters\u002Fpipeline","5.adapters\u002F11.pipeline","i-lucide-workflow",{"title":227,"path":228,"stem":229,"icon":230},"HTTP","\u002Fadapters\u002Fhttp","5.adapters\u002F12.http","i-lucide-globe",{"title":232,"path":233,"stem":234,"icon":235},"Axiom","\u002Fadapters\u002Faxiom","5.adapters\u002F2.axiom","i-custom-axiom",{"title":237,"path":238,"stem":239,"icon":240},"OTLP","\u002Fadapters\u002Fotlp","5.adapters\u002F3.otlp","i-simple-icons-opentelemetry",{"title":242,"path":243,"stem":244,"icon":245},"PostHog","\u002Fadapters\u002Fposthog","5.adapters\u002F4.posthog","i-simple-icons-posthog",{"title":247,"path":248,"stem":249,"icon":250},"Sentry","\u002Fadapters\u002Fsentry","5.adapters\u002F5.sentry","i-simple-icons-sentry",{"title":252,"path":253,"stem":254,"icon":255},"Better Stack","\u002Fadapters\u002Fbetter-stack","5.adapters\u002F6.better-stack","i-simple-icons-betterstack",{"title":257,"path":258,"stem":259,"icon":260},"File System","\u002Fadapters\u002Ffs","5.adapters\u002F7.fs","i-lucide-hard-drive",{"title":262,"path":263,"stem":264,"icon":265},"Datadog","\u002Fadapters\u002Fdatadog","5.adapters\u002F8.datadog","i-simple-icons-datadog",{"title":267,"path":268,"stem":269,"icon":270},"HyperDX","\u002Fadapters\u002Fhyperdx","5.adapters\u002F9.hyperdx","i-custom-hyperdx",{"title":272,"path":273,"stem":274,"children":275,"page":29},"Enrichers","\u002Fenrichers","6.enrichers",[276,279,283],{"title":36,"path":277,"stem":278,"icon":28},"\u002Fenrichers\u002Foverview","6.enrichers\u002F1.overview",{"title":280,"path":281,"stem":282,"icon":201},"Built-in","\u002Fenrichers\u002Fbuilt-in","6.enrichers\u002F2.built-in",{"title":284,"path":285,"stem":286,"icon":220},"Custom","\u002Fenrichers\u002Fcustom","6.enrichers\u002F3.custom",{"title":288,"path":289,"stem":290,"children":291,"page":29},"NuxtHub","\u002Fnuxthub","7.nuxthub",[292,296],{"title":36,"path":293,"stem":294,"icon":295},"\u002Fnuxthub\u002Foverview","7.nuxthub\u002F1.overview","i-lucide-database",{"title":297,"path":298,"stem":299,"icon":300},"Retention","\u002Fnuxthub\u002Fretention","7.nuxthub\u002F2.retention","i-lucide-clock",{"id":302,"title":25,"body":303,"description":746,"extension":747,"links":748,"meta":756,"navigation":757,"path":26,"seo":758,"stem":27,"__hash__":759},"docs\u002F1.getting-started\u002F4.agent-skills.md",{"type":304,"value":305,"toc":726},"minimark",[306,310,315,324,347,351,396,400,403,406,435,439,444,447,485,489,492,517,521,531,560,564,567,582,593,604,615,626,637,641,649,653,656,660,671,675,686,690,701,705,722],[307,308,309],"p",{},"evlog includes agent skills that help AI assistants review your logging patterns and guide evlog adoption.",[311,312,314],"h2",{"id":313},"what-are-agent-skills","What are Agent Skills?",[307,316,317,323],{},[318,319,25],"a",{"href":320,"rel":321},"https:\u002F\u002Fagentskills.io\u002F",[322],"nofollow"," is an open specification for packaging AI assistant capabilities. Skills provide:",[325,326,327,335,341],"ul",{},[328,329,330,334],"li",{},[331,332,333],"strong",{},"Domain knowledge",": Best practices for wide events and structured errors",[328,336,337,340],{},[331,338,339],{},"Code review",": Identify logging anti-patterns in your codebase",[328,342,343,346],{},[331,344,345],{},"Guided adoption",": Step-by-step help migrating to evlog",[311,348,350],{"id":349},"available-skills","Available Skills",[352,353,354,367],"table",{},[355,356,357],"thead",{},[358,359,360,364],"tr",{},[361,362,363],"th",{},"Skill",[361,365,366],{},"Description",[368,369,370,382],"tbody",{},[358,371,372,379],{},[373,374,375],"td",{},[376,377,378],"code",{},"skills\u002Freview-logging-patterns",[373,380,381],{},"Review code for logging patterns, suggest evlog adoption, guide wide event design",[358,383,384,389],{},[373,385,386],{},[376,387,388],{},"skills\u002Fanalyze-logs",[373,390,391,392,395],{},"Analyze application logs from ",[376,393,394],{},".evlog\u002Flogs\u002F"," to debug errors, investigate performance, and understand behavior",[311,397,399],{"id":398},"installing-the-skill","Installing the Skill",[307,401,402],{},"Compatible agents (Cursor, Claude Code, etc.) can discover and use skills automatically.",[307,404,405],{},"To manually install with the skills CLI:",[407,408,414],"pre",{"className":409,"code":410,"filename":411,"language":412,"meta":413,"style":413},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add https:\u002F\u002Fwww.evlog.dev\n","Terminal","bash","",[376,415,416],{"__ignoreMap":413},[417,418,421,425,429,432],"span",{"class":419,"line":420},"line",1,[417,422,424],{"class":423},"sBMFI","npx",[417,426,428],{"class":427},"sfazB"," skills",[417,430,431],{"class":427}," add",[417,433,434],{"class":427}," https:\u002F\u002Fwww.evlog.dev\n",[311,436,438],{"id":437},"what-the-skill-does","What the Skill Does",[440,441,443],"h3",{"id":442},"code-review","Code Review",[307,445,446],{},"The skill analyzes your codebase for:",[325,448,449,463,469,479],{},[328,450,451,454,455,458,459,462],{},[331,452,453],{},"Scattered logging",": Multiple ",[376,456,457],{},"console.log"," or ",[376,460,461],{},"logger.info"," calls in request handlers",[328,464,465,468],{},[331,466,467],{},"Missing context",": Logs without user, request, or business context",[328,470,471,474,475,478],{},[331,472,473],{},"Unhelpful errors",": ",[376,476,477],{},"throw new Error()"," without structured fields",[328,480,481,484],{},[331,482,483],{},"Correlation gaps",": Missing request IDs or trace IDs",[440,486,488],{"id":487},"adoption-guidance","Adoption Guidance",[307,490,491],{},"The skill helps you:",[325,493,494,497,500,514],{},[328,495,496],{},"Convert traditional logging to wide events",[328,498,499],{},"Design effective wide event schemas",[328,501,502,503,506,507,510,511],{},"Implement structured errors with ",[376,504,505],{},"why",", ",[376,508,509],{},"fix",", and ",[376,512,513],{},"link",[328,515,516],{},"Set up evlog in Nuxt, Nitro, or standalone TypeScript",[440,518,520],{"id":519},"log-analysis","Log Analysis",[307,522,523,524,527,528,530],{},"The ",[376,525,526],{},"analyze-logs"," skill teaches your AI assistant to read structured logs from ",[376,529,394],{},":",[325,532,533,539,545,554],{},[328,534,535,538],{},[331,536,537],{},"Error debugging",": Find and explain errors, stack traces, and failure patterns",[328,540,541,544],{},[331,542,543],{},"Performance investigation",": Identify slow requests by duration",[328,546,547,550,551],{},[331,548,549],{},"Request tracing",": Follow a request across its lifecycle using ",[376,552,553],{},"requestId",[328,555,556,559],{},[331,557,558],{},"Pattern detection",": Spot recurring issues or anomalies",[440,561,563],{"id":562},"example-prompts","Example Prompts",[307,565,566],{},"Ask your AI assistant:",[568,569,570],"code-collapse",{},[407,571,576],{"className":572,"code":573,"filename":574,"language":575,"meta":413,"style":413},"language-txt shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Review this file for logging anti-patterns\n","Prompt","txt",[376,577,578],{"__ignoreMap":413},[417,579,580],{"class":419,"line":420},[417,581,573],{},[568,583,584],{},[407,585,587],{"className":572,"code":586,"filename":574,"language":575,"meta":413,"style":413},"Help me convert these console.log calls to a wide event\n",[376,588,589],{"__ignoreMap":413},[417,590,591],{"class":419,"line":420},[417,592,586],{},[568,594,595],{},[407,596,598],{"className":572,"code":597,"filename":574,"language":575,"meta":413,"style":413},"What context should I add to this wide event?\n",[376,599,600],{"__ignoreMap":413},[417,601,602],{"class":419,"line":420},[417,603,597],{},[568,605,606],{},[407,607,609],{"className":572,"code":608,"filename":574,"language":575,"meta":413,"style":413},"How do I structure this error with evlog?\n",[376,610,611],{"__ignoreMap":413},[417,612,613],{"class":419,"line":420},[417,614,608],{},[568,616,617],{},[407,618,620],{"className":572,"code":619,"filename":574,"language":575,"meta":413,"style":413},"Why is the checkout endpoint failing?\n",[376,621,622],{"__ignoreMap":413},[417,623,624],{"class":419,"line":420},[417,625,619],{},[568,627,628],{},[407,629,631],{"className":572,"code":630,"filename":574,"language":575,"meta":413,"style":413},"Show me the slowest requests from today\n",[376,632,633],{"__ignoreMap":413},[417,634,635],{"class":419,"line":420},[417,636,630],{},[311,638,640],{"id":639},"skill-structure","Skill Structure",[407,642,647],{"className":643,"code":645,"language":646},[644],"language-text","skills\u002F\n├── review-logging-patterns\u002F\n│   ├── SKILL.md              # Main skill instructions\n│   └── references\u002F\n│       ├── wide-events.md    # Wide event patterns\n│       ├── structured-errors.md # Error handling guide\n│       └── code-review.md    # Review checklist\n└── analyze-logs\u002F\n    └── SKILL.md              # Log analysis from .evlog\u002Flogs\u002F\n","text",[376,648,645],{"__ignoreMap":413},[311,650,652],{"id":651},"reference-documents","Reference Documents",[307,654,655],{},"The skill includes reference documents that provide:",[440,657,659],{"id":658},"wide-eventsmd","wide-events.md",[325,661,662,665,668],{},[328,663,664],{},"Wide event anatomy and best practices",[328,666,667],{},"Context grouping patterns",[328,669,670],{},"Output format examples",[440,672,674],{"id":673},"structured-errorsmd","structured-errors.md",[325,676,677,680,683],{},[328,678,679],{},"Error field definitions",[328,681,682],{},"Status code guidelines",[328,684,685],{},"Frontend integration patterns",[440,687,689],{"id":688},"code-reviewmd","code-review.md",[325,691,692,695,698],{},[328,693,694],{},"Checklist for logging code review",[328,696,697],{},"Common anti-patterns to identify",[328,699,700],{},"Migration suggestions",[311,702,704],{"id":703},"next-steps","Next Steps",[325,706,707,712,717],{},[328,708,709,711],{},[318,710,20],{"href":21}," - Get started with evlog",[328,713,714,716],{},[318,715,46],{"href":47}," - Learn wide event design",[328,718,719,721],{},[318,720,51],{"href":52}," - Error handling patterns",[723,724,725],"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":413,"searchDepth":727,"depth":727,"links":728},2,[729,730,731,732,739,740,745],{"id":313,"depth":727,"text":314},{"id":349,"depth":727,"text":350},{"id":398,"depth":727,"text":399},{"id":437,"depth":727,"text":438,"children":733},[734,736,737,738],{"id":442,"depth":735,"text":443},3,{"id":487,"depth":735,"text":488},{"id":519,"depth":735,"text":520},{"id":562,"depth":735,"text":563},{"id":639,"depth":727,"text":640},{"id":651,"depth":727,"text":652,"children":741},[742,743,744],{"id":658,"depth":735,"text":659},{"id":673,"depth":735,"text":674},{"id":688,"depth":735,"text":689},{"id":703,"depth":727,"text":704},"AI-assisted code review and evlog adoption using Agent Skills. Let AI review your logging patterns and guide migration to wide events.","md",[749],{"label":750,"icon":751,"to":752,"target":753,"color":754,"variant":755},"Agent Skills Spec","i-lucide-external-link","https:\u002F\u002Fagentskills.io","_blank","neutral","subtle",{},{"icon":28},{"title":25,"description":746},"2x3i71QuUMNJojP_4dJIRrtY57nr3J2r-tKwGe0JQnw",[761,763],{"title":20,"path":21,"stem":22,"description":762,"icon":23,"children":-1},"Get up and running with evlog in minutes. Learn the log API, createLogger for wide events, useLogger for requests, and structured errors.",{"title":36,"path":37,"stem":38,"description":764,"icon":39,"children":-1},"evlog gives you three ways to log. Simple one-liners, wide events that accumulate context, and auto-managed request logging. Choose the right one for your use case.",1777047253693]