[{"data":1,"prerenderedAt":871},["ShallowReactive",2],{"navigation_docs":3,"-build-on-top-identity-headers":421,"-build-on-top-identity-headers-surround":866},[4,35,159,201,289,318,405],{"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,304,309,314],{"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},"Stream API","\u002Fbuild-on-top\u002Fstream-api","5.build-on-top\u002F2.stream-api","i-lucide-radio-tower",{"title":305,"path":306,"stem":307,"icon":308},"SSE bridge","\u002Fbuild-on-top\u002Fsse-bridge","5.build-on-top\u002F3.sse-bridge","i-lucide-wifi",{"title":310,"path":311,"stem":312,"icon":313},"FS reader","\u002Fbuild-on-top\u002Ffs-reader","5.build-on-top\u002F4.fs-reader","i-lucide-folder-search",{"title":156,"path":315,"stem":316,"icon":317},"\u002Fbuild-on-top\u002Frecipes","5.build-on-top\u002F4.recipes","i-lucide-chef-hat",{"title":319,"path":320,"stem":321,"children":322,"page":34},"Adapters","\u002Fadapters","6.adapters",[323,326,366,381],{"title":41,"path":324,"stem":325,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":327,"path":328,"stem":329,"children":330,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[331,336,341,346,351,356,361],{"title":332,"path":333,"stem":334,"icon":335},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":337,"path":338,"stem":339,"icon":340},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":342,"path":343,"stem":344,"icon":345},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":347,"path":348,"stem":349,"icon":350},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":352,"path":353,"stem":354,"icon":355},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":357,"path":358,"stem":359,"icon":360},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":362,"path":363,"stem":364,"icon":365},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":367,"path":368,"stem":369,"children":370,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[371,376],{"title":372,"path":373,"stem":374,"icon":375},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":377,"path":378,"stem":379,"icon":380},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":382,"path":383,"stem":384,"children":385,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[386,391,396,400],{"title":387,"path":388,"stem":389,"icon":390},"Pipeline","\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline","i-lucide-workflow",{"title":392,"path":393,"stem":394,"icon":395},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":397,"path":398,"stem":399,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":401,"path":402,"stem":403,"icon":404},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":406,"path":407,"stem":408,"children":409,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[410,413,417],{"title":41,"path":411,"stem":412,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":414,"path":415,"stem":416,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":418,"path":419,"stem":420,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":422,"title":295,"body":423,"description":859,"extension":860,"links":861,"meta":862,"navigation":863,"path":296,"seo":864,"stem":297,"__hash__":865},"docs\u002F5.build-on-top\u002F1.identity-headers.md",{"type":424,"value":425,"toc":854},"minimark",[426,430,497,511,516,529,533,540,628,632,642,836,850],[427,428,429],"p",{},"All built-in adapters send two identity headers on every outgoing request:",[431,432,433,446],"table",{},[434,435,436],"thead",{},[437,438,439,443],"tr",{},[440,441,442],"th",{},"Header",[440,444,445],{},"Value",[447,448,449,464],"tbody",{},[437,450,451,458],{},[452,453,454],"td",{},[455,456,457],"code",{},"User-Agent",[452,459,460,463],{},[455,461,462],{},"evlog\u002F\u003Cversion>"," (Node \u002F server runtimes only — browsers strip this header)",[437,465,466,471],{},[452,467,468],{},[455,469,470],{},"X-Evlog-Source",[452,472,473,474,477,478,477,481,477,484,477,487,477,490,477,493,496],{},"The adapter name (",[455,475,476],{},"axiom",", ",[455,479,480],{},"datadog",[455,482,483],{},"otlp",[455,485,486],{},"posthog",[455,488,489],{},"sentry",[455,491,492],{},"better-stack",[455,494,495],{},"client",", ...)",[427,498,499,500,503,504,507,508,510],{},"The browser-side ",[455,501,502],{},"evlog\u002Fhttp"," drain (used by the client transport) sets ",[455,505,506],{},"X-Evlog-Source: client"," instead, since browsers cannot override ",[455,509,457],{},".",[512,513,515],"h2",{"id":514},"why","Why",[517,518,519,523,526],"ul",{},[520,521,522],"li",{},"Quickly distinguish evlog traffic from other clients in the receiving system's logs.",[520,524,525],{},"Track adapter usage \u002F version drift centrally.",[520,527,528],{},"Identify the source when debugging a specific drain.",[512,530,532],{"id":531},"reading-the-version","Reading the version",[427,534,535,536,539],{},"Both constants are exported from ",[455,537,538],{},"evlog\u002Ftoolkit",":",[541,542,547],"pre",{"className":543,"code":544,"language":545,"meta":546,"style":546},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { EVLOG_USER_AGENT, EVLOG_VERSION } from 'evlog\u002Ftoolkit'\n\nconsole.log(EVLOG_VERSION)    \u002F\u002F → \"2.16.0\"\nconsole.log(EVLOG_USER_AGENT) \u002F\u002F → \"evlog\u002F2.16.0\"\n","ts","",[455,548,549,587,594,613],{"__ignoreMap":546},[550,551,554,558,562,566,569,572,575,578,581,584],"span",{"class":552,"line":553},"line",1,[550,555,557],{"class":556},"s7zQu","import",[550,559,561],{"class":560},"sMK4o"," {",[550,563,565],{"class":564},"sTEyZ"," EVLOG_USER_AGENT",[550,567,568],{"class":560},",",[550,570,571],{"class":564}," EVLOG_VERSION",[550,573,574],{"class":560}," }",[550,576,577],{"class":556}," from",[550,579,580],{"class":560}," '",[550,582,538],{"class":583},"sfazB",[550,585,586],{"class":560},"'\n",[550,588,590],{"class":552,"line":589},2,[550,591,593],{"emptyLinePlaceholder":592},true,"\n",[550,595,597,600,602,606,609],{"class":552,"line":596},3,[550,598,599],{"class":564},"console",[550,601,510],{"class":560},[550,603,605],{"class":604},"s2Zo4","log",[550,607,608],{"class":564},"(EVLOG_VERSION)    ",[550,610,612],{"class":611},"sHwdD","\u002F\u002F → \"2.16.0\"\n",[550,614,616,618,620,622,625],{"class":552,"line":615},4,[550,617,599],{"class":564},[550,619,510],{"class":560},[550,621,605],{"class":604},[550,623,624],{"class":564},"(EVLOG_USER_AGENT) ",[550,626,627],{"class":611},"\u002F\u002F → \"evlog\u002F2.16.0\"\n",[512,629,631],{"id":630},"custom-drains","Custom drains",[427,633,634,635,638,639,641],{},"When you build a drain on top of ",[455,636,637],{},"httpPost"," from ",[455,640,538],{},", identity headers are injected automatically. To override or suppress them:",[541,643,645],{"className":543,"code":644,"language":545,"meta":546,"style":546},"import { httpPost } from 'evlog\u002Ftoolkit'\n\nawait httpPost({\n  url: 'https:\u002F\u002Fmy-platform.example.com\u002Fingest',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: '[]',\n  timeout: 5000,\n  label: 'my-platform',\n  source: 'my-platform',           \u002F\u002F sent as X-Evlog-Source\n  userAgent: 'my-fork\u002F1.0',        \u002F\u002F overrides the default User-Agent\n  \u002F\u002F userAgent: false,             \u002F\u002F suppress the header entirely\n})\n",[455,646,647,666,670,683,702,731,748,762,779,798,818,827],{"__ignoreMap":546},[550,648,649,651,653,656,658,660,662,664],{"class":552,"line":553},[550,650,557],{"class":556},[550,652,561],{"class":560},[550,654,655],{"class":564}," httpPost",[550,657,574],{"class":560},[550,659,577],{"class":556},[550,661,580],{"class":560},[550,663,538],{"class":583},[550,665,586],{"class":560},[550,667,668],{"class":552,"line":589},[550,669,593],{"emptyLinePlaceholder":592},[550,671,672,675,677,680],{"class":552,"line":596},[550,673,674],{"class":556},"await",[550,676,655],{"class":604},[550,678,679],{"class":564},"(",[550,681,682],{"class":560},"{\n",[550,684,685,689,691,693,696,699],{"class":552,"line":615},[550,686,688],{"class":687},"swJcz","  url",[550,690,539],{"class":560},[550,692,580],{"class":560},[550,694,695],{"class":583},"https:\u002F\u002Fmy-platform.example.com\u002Fingest",[550,697,698],{"class":560},"'",[550,700,701],{"class":560},",\n",[550,703,705,708,710,712,714,717,719,721,723,726,728],{"class":552,"line":704},5,[550,706,707],{"class":687},"  headers",[550,709,539],{"class":560},[550,711,561],{"class":560},[550,713,580],{"class":560},[550,715,716],{"class":687},"Content-Type",[550,718,698],{"class":560},[550,720,539],{"class":560},[550,722,580],{"class":560},[550,724,725],{"class":583},"application\u002Fjson",[550,727,698],{"class":560},[550,729,730],{"class":560}," },\n",[550,732,734,737,739,741,744,746],{"class":552,"line":733},6,[550,735,736],{"class":687},"  body",[550,738,539],{"class":560},[550,740,580],{"class":560},[550,742,743],{"class":583},"[]",[550,745,698],{"class":560},[550,747,701],{"class":560},[550,749,751,754,756,760],{"class":552,"line":750},7,[550,752,753],{"class":687},"  timeout",[550,755,539],{"class":560},[550,757,759],{"class":758},"sbssI"," 5000",[550,761,701],{"class":560},[550,763,765,768,770,772,775,777],{"class":552,"line":764},8,[550,766,767],{"class":687},"  label",[550,769,539],{"class":560},[550,771,580],{"class":560},[550,773,774],{"class":583},"my-platform",[550,776,698],{"class":560},[550,778,701],{"class":560},[550,780,782,785,787,789,791,793,795],{"class":552,"line":781},9,[550,783,784],{"class":687},"  source",[550,786,539],{"class":560},[550,788,580],{"class":560},[550,790,774],{"class":583},[550,792,698],{"class":560},[550,794,568],{"class":560},[550,796,797],{"class":611},"           \u002F\u002F sent as X-Evlog-Source\n",[550,799,801,804,806,808,811,813,815],{"class":552,"line":800},10,[550,802,803],{"class":687},"  userAgent",[550,805,539],{"class":560},[550,807,580],{"class":560},[550,809,810],{"class":583},"my-fork\u002F1.0",[550,812,698],{"class":560},[550,814,568],{"class":560},[550,816,817],{"class":611},"        \u002F\u002F overrides the default User-Agent\n",[550,819,821,824],{"class":552,"line":820},11,[550,822,823],{"class":611},"  \u002F\u002F userAgent: false,",[550,825,826],{"class":611},"             \u002F\u002F suppress the header entirely\n",[550,828,830,833],{"class":552,"line":829},12,[550,831,832],{"class":560},"}",[550,834,835],{"class":564},")\n",[427,837,838,839,842,843,846,847,510],{},"Adapters built with ",[455,840,841],{},"defineHttpDrain()"," automatically pass the drain ",[455,844,845],{},"name"," as ",[455,848,849],{},"source",[851,852,853],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}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);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":546,"searchDepth":589,"depth":589,"links":855},[856,857,858],{"id":514,"depth":589,"text":515},{"id":531,"depth":589,"text":532},{"id":630,"depth":589,"text":631},"Every drain request sent by evlog is tagged with a User-Agent and an X-Evlog-Source header so receivers can identify the traffic.","md",null,{},{"title":295,"icon":298},{"title":295,"description":859},"iZiC6i5YjFffBBt7NjhDWILef6VwqLyE_pqEQtm-Xzo",[867,869],{"title":285,"path":286,"stem":287,"description":868,"icon":288,"children":-1},"Build your own evlog framework integration using the toolkit API — defineFrameworkIntegration, createMiddlewareLogger, AsyncLocalStorage, and the full drain\u002Fenrich\u002Fkeep pipeline.",{"title":300,"path":301,"stem":302,"description":870,"icon":303,"children":-1},"Subscribe to wide events flowing through evlog, in-process, with createStreamDrain — sync listeners, async iterators, and a ring buffer.",1778330168334]