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