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