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