[{"data":1,"prerenderedAt":2723},["ShallowReactive",2],{"navigation_docs":3,"-integrate-adapters-cloud-posthog":447,"-integrate-adapters-cloud-posthog-surround":2718},[4,30,80,245,361,416],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Start","\u002Fstart","1.start",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Why start with evlog","\u002Fstart\u002Fwhy-evlog","1.start\u002F2.why-evlog","i-lucide-rocket",{"title":20,"path":21,"stem":22,"icon":23},"Installation","\u002Fstart\u002Finstallation","1.start\u002F3.installation","i-lucide-download",{"title":25,"path":26,"stem":27,"icon":28},"Quick Start","\u002Fstart\u002Fquick-start","1.start\u002F4.quick-start","i-lucide-zap",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Learn","\u002Flearn","2.learn",[35,40,45,50,55,60,65,70,75],{"title":36,"path":37,"stem":38,"icon":39},"Overview","\u002Flearn\u002Foverview","2.learn\u002F0.overview","i-lucide-list",{"title":41,"path":42,"stem":43,"icon":44},"Simple Logging","\u002Flearn\u002Fsimple-logging","2.learn\u002F1.simple-logging","i-lucide-terminal",{"title":46,"path":47,"stem":48,"icon":49},"Wide Events","\u002Flearn\u002Fwide-events","2.learn\u002F2.wide-events","i-lucide-layers",{"title":51,"path":52,"stem":53,"icon":54},"Structured Errors","\u002Flearn\u002Fstructured-errors","2.learn\u002F3.structured-errors","i-lucide-shield-alert",{"title":56,"path":57,"stem":58,"icon":59},"Lifecycle","\u002Flearn\u002Flifecycle","2.learn\u002F4.lifecycle","i-lucide-arrow-right-left",{"title":61,"path":62,"stem":63,"icon":64},"Sampling","\u002Flearn\u002Fsampling","2.learn\u002F5.sampling","i-lucide-filter",{"title":66,"path":67,"stem":68,"icon":69},"Auto-Redaction","\u002Flearn\u002Fredaction","2.learn\u002F6.redaction","i-lucide-eye-off",{"title":71,"path":72,"stem":73,"icon":74},"Typed Fields","\u002Flearn\u002Ftyped-fields","2.learn\u002F7.typed-fields","i-simple-icons-typescript",{"title":76,"path":77,"stem":78,"icon":79},"Catalogs","\u002Flearn\u002Fcatalogs","2.learn\u002F8.catalogs","i-lucide-book-open",{"title":81,"path":82,"stem":83,"children":84,"page":29},"Integrate","\u002Fintegrate","3.integrate",[85,89,157],{"title":36,"path":86,"stem":87,"icon":88},"\u002Fintegrate\u002Foverview","3.integrate\u002F0.overview","i-lucide-plug",{"title":90,"path":91,"stem":92,"children":93,"page":29},"Adapters","\u002Fintegrate\u002Fadapters","3.integrate\u002Fadapters",[94,97,137],{"title":36,"path":95,"stem":96,"icon":39},"\u002Fintegrate\u002Fadapters\u002Foverview","3.integrate\u002Fadapters\u002F01.overview",{"title":98,"path":99,"stem":100,"children":101,"page":29},"Cloud","\u002Fintegrate\u002Fadapters\u002Fcloud","3.integrate\u002Fadapters\u002Fcloud",[102,107,112,117,122,127,132],{"title":103,"path":104,"stem":105,"icon":106},"Axiom","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Faxiom","3.integrate\u002Fadapters\u002Fcloud\u002F01.axiom","i-custom-axiom",{"title":108,"path":109,"stem":110,"icon":111},"OTLP","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fotlp","3.integrate\u002Fadapters\u002Fcloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":113,"path":114,"stem":115,"icon":116},"PostHog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fposthog","3.integrate\u002Fadapters\u002Fcloud\u002F03.posthog","i-simple-icons-posthog",{"title":118,"path":119,"stem":120,"icon":121},"Sentry","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fsentry","3.integrate\u002Fadapters\u002Fcloud\u002F04.sentry","i-simple-icons-sentry",{"title":123,"path":124,"stem":125,"icon":126},"Better Stack","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fbetter-stack","3.integrate\u002Fadapters\u002Fcloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":128,"path":129,"stem":130,"icon":131},"Datadog","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fdatadog","3.integrate\u002Fadapters\u002Fcloud\u002F06.datadog","i-simple-icons-datadog",{"title":133,"path":134,"stem":135,"icon":136},"HyperDX","\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fhyperdx","3.integrate\u002Fadapters\u002Fcloud\u002F07.hyperdx","i-custom-hyperdx",{"title":138,"path":139,"stem":140,"children":141,"page":29},"Self-Hosted","\u002Fintegrate\u002Fadapters\u002Fself-hosted","3.integrate\u002Fadapters\u002Fself-hosted",[142,147,152],{"title":143,"path":144,"stem":145,"icon":146},"File System","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Ffs","3.integrate\u002Fadapters\u002Fself-hosted\u002F01.fs","i-lucide-hard-drive",{"title":148,"path":149,"stem":150,"icon":151},"NuxtHub","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fnuxthub","3.integrate\u002Fadapters\u002Fself-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":153,"path":154,"stem":155,"icon":156},"Memory","\u002Fintegrate\u002Fadapters\u002Fself-hosted\u002Fmemory","3.integrate\u002Fadapters\u002Fself-hosted\u002F03.memory","i-lucide-cpu",{"title":158,"path":159,"stem":160,"children":161,"page":29},"Frameworks","\u002Fintegrate\u002Fframeworks","3.integrate\u002Fframeworks",[162,166,171,176,181,186,191,196,201,206,211,216,221,226,230,235,240],{"title":36,"path":163,"stem":164,"icon":165},"\u002Fintegrate\u002Fframeworks\u002Foverview","3.integrate\u002Fframeworks\u002F00.overview","i-lucide-layout-grid",{"title":167,"path":168,"stem":169,"icon":170},"Nuxt","\u002Fintegrate\u002Fframeworks\u002Fnuxt","3.integrate\u002Fframeworks\u002F01.nuxt","i-simple-icons-nuxtdotjs",{"title":172,"path":173,"stem":174,"icon":175},"Next.js","\u002Fintegrate\u002Fframeworks\u002Fnextjs","3.integrate\u002Fframeworks\u002F02.nextjs","i-simple-icons-nextdotjs",{"title":177,"path":178,"stem":179,"icon":180},"SvelteKit","\u002Fintegrate\u002Fframeworks\u002Fsveltekit","3.integrate\u002Fframeworks\u002F03.sveltekit","i-simple-icons-svelte",{"title":182,"path":183,"stem":184,"icon":185},"Nitro","\u002Fintegrate\u002Fframeworks\u002Fnitro","3.integrate\u002Fframeworks\u002F04.nitro","i-custom-nitro",{"title":187,"path":188,"stem":189,"icon":190},"TanStack Start","\u002Fintegrate\u002Fframeworks\u002Ftanstack-start","3.integrate\u002Fframeworks\u002F05.tanstack-start","i-custom-tanstack",{"title":192,"path":193,"stem":194,"icon":195},"NestJS","\u002Fintegrate\u002Fframeworks\u002Fnestjs","3.integrate\u002Fframeworks\u002F06.nestjs","i-simple-icons-nestjs",{"title":197,"path":198,"stem":199,"icon":200},"Express","\u002Fintegrate\u002Fframeworks\u002Fexpress","3.integrate\u002Fframeworks\u002F07.express","i-simple-icons-express",{"title":202,"path":203,"stem":204,"icon":205},"Hono","\u002Fintegrate\u002Fframeworks\u002Fhono","3.integrate\u002Fframeworks\u002F08.hono","i-simple-icons-hono",{"title":207,"path":208,"stem":209,"icon":210},"Fastify","\u002Fintegrate\u002Fframeworks\u002Ffastify","3.integrate\u002Fframeworks\u002F09.fastify","i-simple-icons-fastify",{"title":212,"path":213,"stem":214,"icon":215},"Elysia","\u002Fintegrate\u002Fframeworks\u002Felysia","3.integrate\u002Fframeworks\u002F10.elysia","i-custom-elysia",{"title":217,"path":218,"stem":219,"icon":220},"React Router","\u002Fintegrate\u002Fframeworks\u002Freact-router","3.integrate\u002Fframeworks\u002F11.react-router","i-custom-reactrouter",{"title":222,"path":223,"stem":224,"icon":225},"Cloudflare Workers","\u002Fintegrate\u002Fframeworks\u002Fcloudflare-workers","3.integrate\u002Fframeworks\u002F12.cloudflare-workers","i-simple-icons-cloudflare",{"title":227,"path":228,"stem":229,"icon":74},"Standalone","\u002Fintegrate\u002Fframeworks\u002Fstandalone","3.integrate\u002Fframeworks\u002F13.standalone",{"title":231,"path":232,"stem":233,"icon":234},"Astro","\u002Fintegrate\u002Fframeworks\u002Fastro","3.integrate\u002Fframeworks\u002F14.astro","i-simple-icons-astro",{"title":236,"path":237,"stem":238,"icon":239},"oRPC","\u002Fintegrate\u002Fframeworks\u002Forpc","3.integrate\u002Fframeworks\u002F15.orpc","i-lucide-network",{"title":241,"path":242,"stem":243,"icon":244},"AWS Lambda","\u002Fintegrate\u002Fframeworks\u002Faws-lambda","3.integrate\u002Fframeworks\u002F16.aws-lambda","i-custom-lambda",{"title":246,"path":247,"stem":248,"children":249,"page":29},"Use Cases","\u002Fuse-cases","4.use-cases",[250,254,259,288,316,348,353],{"title":36,"path":251,"stem":252,"icon":253},"\u002Fuse-cases\u002Foverview","4.use-cases\u002F0.overview","i-lucide-list-checks",{"title":255,"path":256,"stem":257,"icon":258},"Client Logging","\u002Fuse-cases\u002Fclient-logging","4.use-cases\u002F1.client-logging","i-lucide-monitor",{"title":260,"icon":261,"path":262,"stem":263,"children":264,"page":29},"AI SDK","i-simple-icons-vercel","\u002Fuse-cases\u002Fai-sdk","4.use-cases\u002F2.ai-sdk",[265,268,273,278,283],{"title":36,"path":266,"stem":267,"icon":39},"\u002Fuse-cases\u002Fai-sdk\u002Foverview","4.use-cases\u002F2.ai-sdk\u002F01.overview",{"title":269,"path":270,"stem":271,"icon":272},"Usage","\u002Fuse-cases\u002Fai-sdk\u002Fusage","4.use-cases\u002F2.ai-sdk\u002F02.usage","i-lucide-code",{"title":274,"path":275,"stem":276,"icon":277},"Options","\u002Fuse-cases\u002Fai-sdk\u002Foptions","4.use-cases\u002F2.ai-sdk\u002F03.options","i-lucide-sliders",{"title":279,"path":280,"stem":281,"icon":282},"Metadata","\u002Fuse-cases\u002Fai-sdk\u002Fmetadata","4.use-cases\u002F2.ai-sdk\u002F04.metadata","i-lucide-database",{"title":284,"path":285,"stem":286,"icon":287},"Telemetry","\u002Fuse-cases\u002Fai-sdk\u002Ftelemetry","4.use-cases\u002F2.ai-sdk\u002F05.telemetry","i-lucide-activity",{"title":289,"icon":290,"path":291,"stem":292,"children":293,"page":29},"Better Auth","i-simple-icons-betterauth","\u002Fuse-cases\u002Fbetter-auth","4.use-cases\u002F3.better-auth",[294,297,302,307,311],{"title":36,"path":295,"stem":296,"icon":39},"\u002Fuse-cases\u002Fbetter-auth\u002Foverview","4.use-cases\u002F3.better-auth\u002F01.overview",{"title":298,"path":299,"stem":300,"icon":301},"Identify User","\u002Fuse-cases\u002Fbetter-auth\u002Fidentify-user","4.use-cases\u002F3.better-auth\u002F02.identify-user","i-lucide-user-check",{"title":303,"path":304,"stem":305,"icon":306},"Middleware","\u002Fuse-cases\u002Fbetter-auth\u002Fmiddleware","4.use-cases\u002F3.better-auth\u002F03.middleware","i-lucide-shield",{"title":308,"path":309,"stem":310,"icon":258},"Client Sync","\u002Fuse-cases\u002Fbetter-auth\u002Fclient-sync","4.use-cases\u002F3.better-auth\u002F04.client-sync",{"title":312,"path":313,"stem":314,"icon":315},"Performance","\u002Fuse-cases\u002Fbetter-auth\u002Fperformance","4.use-cases\u002F3.better-auth\u002F05.performance","i-lucide-gauge",{"title":317,"icon":318,"path":319,"stem":320,"children":321,"page":29},"Audit Logs","i-lucide-shield-check","\u002Fuse-cases\u002Faudit","4.use-cases\u002F4.audit",[322,325,330,335,340,344],{"title":36,"path":323,"stem":324,"icon":39},"\u002Fuse-cases\u002Faudit\u002Foverview","4.use-cases\u002F4.audit\u002F01.overview",{"title":326,"path":327,"stem":328,"icon":329},"Schema","\u002Fuse-cases\u002Faudit\u002Fschema","4.use-cases\u002F4.audit\u002F02.schema","i-lucide-file-text",{"title":331,"path":332,"stem":333,"icon":334},"Recording","\u002Fuse-cases\u002Faudit\u002Frecording","4.use-cases\u002F4.audit\u002F03.recording","i-lucide-pen-line",{"title":336,"path":337,"stem":338,"icon":339},"Drains","\u002Fuse-cases\u002Faudit\u002Fpipeline","4.use-cases\u002F4.audit\u002F04.pipeline","i-lucide-link",{"title":341,"path":342,"stem":343,"icon":318},"Compliance","\u002Fuse-cases\u002Faudit\u002Fcompliance","4.use-cases\u002F4.audit\u002F05.compliance",{"title":345,"path":346,"stem":347,"icon":79},"Recipes","\u002Fuse-cases\u002Faudit\u002Frecipes","4.use-cases\u002F4.audit\u002F06.recipes",{"title":349,"path":350,"stem":351,"icon":352},"Enrichers","\u002Fuse-cases\u002Fenrichers","4.use-cases\u002F5.enrichers","i-lucide-sparkles",{"title":354,"icon":261,"path":355,"stem":356,"children":357,"page":29},"Eve","\u002Fuse-cases\u002Feve","4.use-cases\u002F5.eve",[358],{"title":36,"path":359,"stem":360,"icon":261},"\u002Fuse-cases\u002Feve\u002Foverview","4.use-cases\u002F5.eve\u002F01.overview",{"title":362,"path":363,"stem":364,"children":365,"page":29},"Extend","\u002Fextend","5.extend",[366,370,375,380,385,389,393,397,401,406,411],{"title":36,"path":367,"stem":368,"icon":369},"\u002Fextend\u002Foverview","5.extend\u002F0.overview","i-lucide-blocks",{"title":371,"path":372,"stem":373,"icon":374},"Stream","\u002Fextend\u002Fstream","5.extend\u002F1.stream","i-lucide-radio-tower",{"title":376,"path":377,"stem":378,"icon":379},"Custom framework","\u002Fextend\u002Fcustom-framework","5.extend\u002F10.custom-framework","i-lucide-puzzle",{"title":381,"path":382,"stem":383,"icon":384},"FS reader","\u002Fextend\u002Ffs-reader","5.extend\u002F2.fs-reader","i-lucide-folder-search",{"title":345,"path":386,"stem":387,"icon":388},"\u002Fextend\u002Fconsumer-recipes","5.extend\u002F3.consumer-recipes","i-lucide-chef-hat",{"title":390,"path":391,"stem":392,"icon":369},"Plugins","\u002Fextend\u002Fplugins","5.extend\u002F4.plugins",{"title":394,"path":395,"stem":396,"icon":352},"Custom enrichers","\u002Fextend\u002Fcustom-enrichers","5.extend\u002F5.custom-enrichers",{"title":398,"path":399,"stem":400,"icon":64},"Tail sampling","\u002Fextend\u002Ftail-sampling","5.extend\u002F6.tail-sampling",{"title":402,"path":403,"stem":404,"icon":405},"Identity headers","\u002Fextend\u002Fidentity-headers","5.extend\u002F7.identity-headers","i-lucide-fingerprint",{"title":407,"path":408,"stem":409,"icon":410},"Custom drains","\u002Fextend\u002Fcustom-drains","5.extend\u002F8.custom-drains","i-lucide-share-2",{"title":412,"path":413,"stem":414,"icon":415},"Drain pipeline","\u002Fextend\u002Fdrain-pipeline","5.extend\u002F9.drain-pipeline","i-lucide-workflow",{"title":417,"path":418,"stem":419,"children":420,"page":29},"Reference","\u002Freference","6.reference",[421,426,429,434,438,443],{"title":422,"path":423,"stem":424,"icon":425},"Configuration","\u002Freference\u002Fconfiguration","6.reference\u002F1.configuration","i-lucide-settings",{"title":312,"path":427,"stem":428,"icon":315},"\u002Freference\u002Fperformance","6.reference\u002F2.performance",{"title":430,"path":431,"stem":432,"icon":433},"Vite Plugin","\u002Freference\u002Fvite-plugin","6.reference\u002F3.vite-plugin","i-custom-vite",{"title":435,"path":436,"stem":437,"icon":318},"Best Practices","\u002Freference\u002Fbest-practices","6.reference\u002F4.best-practices",{"title":439,"path":440,"stem":441,"icon":442},"vs Other Loggers","\u002Freference\u002Fvs-other-loggers","6.reference\u002F5.vs-other-loggers","i-lucide-scale",{"title":444,"path":445,"stem":446,"icon":352},"Agent Skills","\u002Freference\u002Fagent-skills","6.reference\u002F6.agent-skills",{"id":448,"title":449,"body":450,"description":2704,"extension":2705,"links":2706,"meta":2714,"navigation":2715,"path":114,"seo":2716,"stem":115,"__hash__":2717},"docs\u002F3.integrate\u002Fadapters\u002Fcloud\u002F03.posthog.md","PostHog Adapter",{"type":451,"value":452,"toc":2674},"minimark",[453,469,514,518,521,565,568,573,604,608,627,631,1209,1212,1215,1218,1248,1252,1293,1297,1304,1385,1389,1392,1449,1453,1529,1533,1543,1575,1579,1585,1625,1653,1657,1664,1677,1681,1690,1785,1796,1804,1820,1824,1928,1932,1935,2024,2028,2034,2060,2064,2139,2142,2282,2286,2290,2299,2302,2306,2309,2329,2333,2339,2352,2356,2359,2478,2481,2641,2645,2670],[454,455,456,462,463,468],"p",{},[457,458,113],"a",{"href":459,"rel":460},"https:\u002F\u002Fposthog.com",[461],"nofollow"," is an open-source product analytics platform. The evlog PostHog adapter sends your wide events to ",[457,464,467],{"href":465,"rel":466},"https:\u002F\u002Fposthog.com\u002Fdocs\u002Flogs",[461],"PostHog Logs"," via the standard OTLP format, giving you a dedicated log viewer with filtering, search, and tail mode using your existing PostHog API key.",[470,471,474,477,502],"prompt",{":actions":472,"description":473,"icon":116},"[\"copy\",\"cursor\",\"windsurf\"]","Add the PostHog drain adapter",[454,475,476],{},"Add the PostHog drain adapter to send evlog wide events to PostHog Logs.",[478,479,480,484,487,490,493,496,499],"ol",{},[481,482,483],"li",{},"Identify which framework I'm using and follow its evlog integration pattern",[481,485,486],{},"Install evlog if not already installed",[481,488,489],{},"Import createPostHogDrain from 'evlog\u002Fposthog'",[481,491,492],{},"Wire createPostHogDrain() into my framework's drain configuration",[481,494,495],{},"Set POSTHOG_API_KEY environment variable",[481,497,498],{},"Optionally set POSTHOG_HOST for EU or self-hosted instances",[481,500,501],{},"Test by triggering a request and checking PostHog > Logs",[454,503,504,505,509,510],{},"Adapter docs: ",[457,506,507],{"href":507,"rel":508},"https:\u002F\u002Fwww.evlog.dev\u002Fintegrate\u002Fadapters\u002Fcloud\u002Fposthog",[461],"\nFramework setup: ",[457,511,512],{"href":512,"rel":513},"https:\u002F\u002Fwww.evlog.dev\u002Fintegrate\u002Fframeworks\u002Foverview",[461],[515,516,20],"h2",{"id":517},"installation",[454,519,520],{},"The PostHog adapter comes bundled with evlog:",[522,523,529],"pre",{"className":524,"code":525,"filename":526,"language":527,"meta":528,"style":528},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createPostHogDrain } from 'evlog\u002Fposthog'\n","src\u002Findex.ts","typescript","",[530,531,532],"code",{"__ignoreMap":528},[533,534,537,541,545,549,552,555,558,562],"span",{"class":535,"line":536},"line",1,[533,538,540],{"class":539},"s7zQu","import",[533,542,544],{"class":543},"sMK4o"," {",[533,546,548],{"class":547},"sTEyZ"," createPostHogDrain",[533,550,551],{"class":543}," }",[533,553,554],{"class":539}," from",[533,556,557],{"class":543}," '",[533,559,561],{"class":560},"sfazB","evlog\u002Fposthog",[533,563,564],{"class":543},"'\n",[515,566,25],{"id":567},"quick-start",[569,570,572],"h3",{"id":571},"_1-get-your-posthog-project-api-key","1. Get your PostHog project API key",[478,574,575,583,597],{},[481,576,577,578],{},"Log in to your ",[457,579,582],{"href":580,"rel":581},"https:\u002F\u002Fapp.posthog.com",[461],"PostHog dashboard",[481,584,585,586,590,591,590,594],{},"Go to ",[587,588,589],"strong",{},"Settings"," > ",[587,592,593],{},"Project",[587,595,596],{},"Project API Key",[481,598,599,600,603],{},"Copy the key (starts with ",[530,601,602],{},"phc_",")",[569,605,607],{"id":606},"_2-set-environment-variables","2. Set environment variables",[522,609,614],{"className":610,"code":611,"filename":612,"language":613,"meta":528,"style":528},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POSTHOG_API_KEY=phc_your-project-api-key\n",".env","bash",[530,615,616],{"__ignoreMap":528},[533,617,618,621,624],{"class":535,"line":536},[533,619,620],{"class":547},"POSTHOG_API_KEY",[533,622,623],{"class":543},"=",[533,625,626],{"class":560},"phc_your-project-api-key\n",[569,628,630],{"id":629},"_3-wire-the-drain-to-your-framework","3. Wire the drain to your framework",[632,633,634,748,879,941,995,1054,1108,1161],"code-group",{},[522,635,638],{"className":524,"code":636,"filename":637,"language":527,"meta":528,"style":528},"\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\nimport { createPostHogDrain } from 'evlog\u002Fposthog'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createPostHogDrain())\n})\n","Nuxt \u002F Nitro",[530,639,640,646,665,672,703,739],{"__ignoreMap":528},[533,641,642],{"class":535,"line":536},[533,643,645],{"class":644},"sHwdD","\u002F\u002F server\u002Fplugins\u002Fevlog-drain.ts\n",[533,647,649,651,653,655,657,659,661,663],{"class":535,"line":648},2,[533,650,540],{"class":539},[533,652,544],{"class":543},[533,654,548],{"class":547},[533,656,551],{"class":543},[533,658,554],{"class":539},[533,660,557],{"class":543},[533,662,561],{"class":560},[533,664,564],{"class":543},[533,666,668],{"class":535,"line":667},3,[533,669,671],{"emptyLinePlaceholder":670},true,"\n",[533,673,675,678,681,685,688,690,694,696,700],{"class":535,"line":674},4,[533,676,677],{"class":539},"export",[533,679,680],{"class":539}," default",[533,682,684],{"class":683},"s2Zo4"," defineNitroPlugin",[533,686,687],{"class":547},"(",[533,689,687],{"class":543},[533,691,693],{"class":692},"sHdIc","nitroApp",[533,695,603],{"class":543},[533,697,699],{"class":698},"spNyl"," =>",[533,701,702],{"class":543}," {\n",[533,704,706,709,712,715,717,720,723,726,729,731,734,736],{"class":535,"line":705},5,[533,707,708],{"class":547},"  nitroApp",[533,710,711],{"class":543},".",[533,713,714],{"class":547},"hooks",[533,716,711],{"class":543},[533,718,719],{"class":683},"hook",[533,721,687],{"class":722},"swJcz",[533,724,725],{"class":543},"'",[533,727,728],{"class":560},"evlog:drain",[533,730,725],{"class":543},[533,732,733],{"class":543},",",[533,735,548],{"class":683},[533,737,738],{"class":722},"())\n",[533,740,742,745],{"class":535,"line":741},6,[533,743,744],{"class":543},"}",[533,746,747],{"class":547},")\n",[522,749,751],{"className":524,"code":750,"filename":172,"language":527,"meta":528,"style":528},"\u002F\u002F lib\u002Fevlog.ts\nimport { createEvlog } from 'evlog\u002Fnext'\nimport { createPostHogDrain } from 'evlog\u002Fposthog'\n\nexport const { withEvlog, useLogger, log, createError } = createEvlog({\n  service: 'my-app',\n  drain: createPostHogDrain(),\n})\n",[530,752,753,758,778,796,800,839,857,872],{"__ignoreMap":528},[533,754,755],{"class":535,"line":536},[533,756,757],{"class":644},"\u002F\u002F lib\u002Fevlog.ts\n",[533,759,760,762,764,767,769,771,773,776],{"class":535,"line":648},[533,761,540],{"class":539},[533,763,544],{"class":543},[533,765,766],{"class":547}," createEvlog",[533,768,551],{"class":543},[533,770,554],{"class":539},[533,772,557],{"class":543},[533,774,775],{"class":560},"evlog\u002Fnext",[533,777,564],{"class":543},[533,779,780,782,784,786,788,790,792,794],{"class":535,"line":667},[533,781,540],{"class":539},[533,783,544],{"class":543},[533,785,548],{"class":547},[533,787,551],{"class":543},[533,789,554],{"class":539},[533,791,557],{"class":543},[533,793,561],{"class":560},[533,795,564],{"class":543},[533,797,798],{"class":535,"line":674},[533,799,671],{"emptyLinePlaceholder":670},[533,801,802,804,807,809,812,814,817,819,822,824,827,829,832,834,836],{"class":535,"line":705},[533,803,677],{"class":539},[533,805,806],{"class":698}," const",[533,808,544],{"class":543},[533,810,811],{"class":547}," withEvlog",[533,813,733],{"class":543},[533,815,816],{"class":547}," useLogger",[533,818,733],{"class":543},[533,820,821],{"class":547}," log",[533,823,733],{"class":543},[533,825,826],{"class":547}," createError ",[533,828,744],{"class":543},[533,830,831],{"class":543}," =",[533,833,766],{"class":683},[533,835,687],{"class":547},[533,837,838],{"class":543},"{\n",[533,840,841,844,847,849,852,854],{"class":535,"line":741},[533,842,843],{"class":722},"  service",[533,845,846],{"class":543},":",[533,848,557],{"class":543},[533,850,851],{"class":560},"my-app",[533,853,725],{"class":543},[533,855,856],{"class":543},",\n",[533,858,860,863,865,867,870],{"class":535,"line":859},7,[533,861,862],{"class":722},"  drain",[533,864,846],{"class":543},[533,866,548],{"class":683},[533,868,869],{"class":547},"()",[533,871,856],{"class":543},[533,873,875,877],{"class":535,"line":874},8,[533,876,744],{"class":543},[533,878,747],{"class":547},[522,880,882],{"className":524,"code":881,"filename":202,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\napp.use(evlog({ drain: createPostHogDrain() }))\n",[530,883,884,902,906],{"__ignoreMap":528},[533,885,886,888,890,892,894,896,898,900],{"class":535,"line":536},[533,887,540],{"class":539},[533,889,544],{"class":543},[533,891,548],{"class":547},[533,893,551],{"class":543},[533,895,554],{"class":539},[533,897,557],{"class":543},[533,899,561],{"class":560},[533,901,564],{"class":543},[533,903,904],{"class":535,"line":648},[533,905,671],{"emptyLinePlaceholder":670},[533,907,908,911,913,916,918,921,923,926,929,931,933,936,938],{"class":535,"line":667},[533,909,910],{"class":547},"app",[533,912,711],{"class":543},[533,914,915],{"class":683},"use",[533,917,687],{"class":547},[533,919,920],{"class":683},"evlog",[533,922,687],{"class":547},[533,924,925],{"class":543},"{",[533,927,928],{"class":722}," drain",[533,930,846],{"class":543},[533,932,548],{"class":683},[533,934,935],{"class":547},"() ",[533,937,744],{"class":543},[533,939,940],{"class":547},"))\n",[522,942,943],{"className":524,"code":881,"filename":197,"language":527,"meta":528,"style":528},[530,944,945,963,967],{"__ignoreMap":528},[533,946,947,949,951,953,955,957,959,961],{"class":535,"line":536},[533,948,540],{"class":539},[533,950,544],{"class":543},[533,952,548],{"class":547},[533,954,551],{"class":543},[533,956,554],{"class":539},[533,958,557],{"class":543},[533,960,561],{"class":560},[533,962,564],{"class":543},[533,964,965],{"class":535,"line":648},[533,966,671],{"emptyLinePlaceholder":670},[533,968,969,971,973,975,977,979,981,983,985,987,989,991,993],{"class":535,"line":667},[533,970,910],{"class":547},[533,972,711],{"class":543},[533,974,915],{"class":683},[533,976,687],{"class":547},[533,978,920],{"class":683},[533,980,687],{"class":547},[533,982,925],{"class":543},[533,984,928],{"class":722},[533,986,846],{"class":543},[533,988,548],{"class":683},[533,990,935],{"class":547},[533,992,744],{"class":543},[533,994,940],{"class":547},[522,996,998],{"className":524,"code":997,"filename":207,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nawait app.register(evlog, { drain: createPostHogDrain() })\n",[530,999,1000,1018,1022],{"__ignoreMap":528},[533,1001,1002,1004,1006,1008,1010,1012,1014,1016],{"class":535,"line":536},[533,1003,540],{"class":539},[533,1005,544],{"class":543},[533,1007,548],{"class":547},[533,1009,551],{"class":543},[533,1011,554],{"class":539},[533,1013,557],{"class":543},[533,1015,561],{"class":560},[533,1017,564],{"class":543},[533,1019,1020],{"class":535,"line":648},[533,1021,671],{"emptyLinePlaceholder":670},[533,1023,1024,1027,1030,1032,1035,1038,1040,1042,1044,1046,1048,1050,1052],{"class":535,"line":667},[533,1025,1026],{"class":539},"await",[533,1028,1029],{"class":547}," app",[533,1031,711],{"class":543},[533,1033,1034],{"class":683},"register",[533,1036,1037],{"class":547},"(evlog",[533,1039,733],{"class":543},[533,1041,544],{"class":543},[533,1043,928],{"class":722},[533,1045,846],{"class":543},[533,1047,548],{"class":683},[533,1049,935],{"class":547},[533,1051,744],{"class":543},[533,1053,747],{"class":547},[522,1055,1056],{"className":524,"code":881,"filename":212,"language":527,"meta":528,"style":528},[530,1057,1058,1076,1080],{"__ignoreMap":528},[533,1059,1060,1062,1064,1066,1068,1070,1072,1074],{"class":535,"line":536},[533,1061,540],{"class":539},[533,1063,544],{"class":543},[533,1065,548],{"class":547},[533,1067,551],{"class":543},[533,1069,554],{"class":539},[533,1071,557],{"class":543},[533,1073,561],{"class":560},[533,1075,564],{"class":543},[533,1077,1078],{"class":535,"line":648},[533,1079,671],{"emptyLinePlaceholder":670},[533,1081,1082,1084,1086,1088,1090,1092,1094,1096,1098,1100,1102,1104,1106],{"class":535,"line":667},[533,1083,910],{"class":547},[533,1085,711],{"class":543},[533,1087,915],{"class":683},[533,1089,687],{"class":547},[533,1091,920],{"class":683},[533,1093,687],{"class":547},[533,1095,925],{"class":543},[533,1097,928],{"class":722},[533,1099,846],{"class":543},[533,1101,548],{"class":683},[533,1103,935],{"class":547},[533,1105,744],{"class":543},[533,1107,940],{"class":547},[522,1109,1111],{"className":524,"code":1110,"filename":192,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nEvlogModule.forRoot({ drain: createPostHogDrain() })\n",[530,1112,1113,1131,1135],{"__ignoreMap":528},[533,1114,1115,1117,1119,1121,1123,1125,1127,1129],{"class":535,"line":536},[533,1116,540],{"class":539},[533,1118,544],{"class":543},[533,1120,548],{"class":547},[533,1122,551],{"class":543},[533,1124,554],{"class":539},[533,1126,557],{"class":543},[533,1128,561],{"class":560},[533,1130,564],{"class":543},[533,1132,1133],{"class":535,"line":648},[533,1134,671],{"emptyLinePlaceholder":670},[533,1136,1137,1140,1142,1145,1147,1149,1151,1153,1155,1157,1159],{"class":535,"line":667},[533,1138,1139],{"class":547},"EvlogModule",[533,1141,711],{"class":543},[533,1143,1144],{"class":683},"forRoot",[533,1146,687],{"class":547},[533,1148,925],{"class":543},[533,1150,928],{"class":722},[533,1152,846],{"class":543},[533,1154,548],{"class":683},[533,1156,935],{"class":547},[533,1158,744],{"class":543},[533,1160,747],{"class":547},[522,1162,1164],{"className":524,"code":1163,"filename":227,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\ninitLogger({ drain: createPostHogDrain() })\n",[530,1165,1166,1184,1188],{"__ignoreMap":528},[533,1167,1168,1170,1172,1174,1176,1178,1180,1182],{"class":535,"line":536},[533,1169,540],{"class":539},[533,1171,544],{"class":543},[533,1173,548],{"class":547},[533,1175,551],{"class":543},[533,1177,554],{"class":539},[533,1179,557],{"class":543},[533,1181,561],{"class":560},[533,1183,564],{"class":543},[533,1185,1186],{"class":535,"line":648},[533,1187,671],{"emptyLinePlaceholder":670},[533,1189,1190,1193,1195,1197,1199,1201,1203,1205,1207],{"class":535,"line":667},[533,1191,1192],{"class":683},"initLogger",[533,1194,687],{"class":547},[533,1196,925],{"class":543},[533,1198,928],{"class":722},[533,1200,846],{"class":543},[533,1202,548],{"class":683},[533,1204,935],{"class":547},[533,1206,744],{"class":543},[533,1208,747],{"class":547},[454,1210,1211],{},"That's it! Your wide events will now appear in PostHog Logs with full OTLP structure including severity levels, trace context, and structured attributes.",[515,1213,422],{"id":1214},"configuration",[454,1216,1217],{},"The adapter reads configuration from multiple sources (highest priority first):",[478,1219,1220,1229,1239],{},[481,1221,1222,1225,1226],{},[587,1223,1224],{},"Overrides"," passed to ",[530,1227,1228],{},"createPostHogDrain()",[481,1230,1231,1234,1235,1238],{},[587,1232,1233],{},"Runtime config"," at ",[530,1236,1237],{},"runtimeConfig.posthog"," (Nuxt\u002FNitro only)",[481,1240,1241,1244,1245,603],{},[587,1242,1243],{},"Environment variables"," (",[530,1246,1247],{},"POSTHOG_*",[569,1249,1251],{"id":1250},"environment-variables","Environment Variables",[1253,1254,1255,1268],"table",{},[1256,1257,1258],"thead",{},[1259,1260,1261,1265],"tr",{},[1262,1263,1264],"th",{},"Variable",[1262,1266,1267],{},"Description",[1269,1270,1271,1283],"tbody",{},[1259,1272,1273,1278],{},[1274,1275,1276],"td",{},[530,1277,620],{},[1274,1279,1280,1281,603],{},"Project API key (starts with ",[530,1282,602],{},[1259,1284,1285,1290],{},[1274,1286,1287],{},[530,1288,1289],{},"POSTHOG_HOST",[1274,1291,1292],{},"PostHog host URL (for EU or self-hosted)",[569,1294,1296],{"id":1295},"runtime-config-nuxt-only","Runtime Config (Nuxt only)",[454,1298,1299,1300,1303],{},"Configure via ",[530,1301,1302],{},"nuxt.config.ts"," for type-safe configuration:",[522,1305,1307],{"className":524,"code":1306,"filename":1302,"language":527,"meta":528,"style":528},"export default defineNuxtConfig({\n  runtimeConfig: {\n    posthog: {\n      apiKey: '', \u002F\u002F Set via POSTHOG_API_KEY\n      host: '', \u002F\u002F Set via POSTHOG_HOST\n    },\n  },\n})\n",[530,1308,1309,1322,1331,1340,1355,1369,1374,1379],{"__ignoreMap":528},[533,1310,1311,1313,1315,1318,1320],{"class":535,"line":536},[533,1312,677],{"class":539},[533,1314,680],{"class":539},[533,1316,1317],{"class":683}," defineNuxtConfig",[533,1319,687],{"class":547},[533,1321,838],{"class":543},[533,1323,1324,1327,1329],{"class":535,"line":648},[533,1325,1326],{"class":722},"  runtimeConfig",[533,1328,846],{"class":543},[533,1330,702],{"class":543},[533,1332,1333,1336,1338],{"class":535,"line":667},[533,1334,1335],{"class":722},"    posthog",[533,1337,846],{"class":543},[533,1339,702],{"class":543},[533,1341,1342,1345,1347,1350,1352],{"class":535,"line":674},[533,1343,1344],{"class":722},"      apiKey",[533,1346,846],{"class":543},[533,1348,1349],{"class":543}," ''",[533,1351,733],{"class":543},[533,1353,1354],{"class":644}," \u002F\u002F Set via POSTHOG_API_KEY\n",[533,1356,1357,1360,1362,1364,1366],{"class":535,"line":705},[533,1358,1359],{"class":722},"      host",[533,1361,846],{"class":543},[533,1363,1349],{"class":543},[533,1365,733],{"class":543},[533,1367,1368],{"class":644}," \u002F\u002F Set via POSTHOG_HOST\n",[533,1370,1371],{"class":535,"line":741},[533,1372,1373],{"class":543},"    },\n",[533,1375,1376],{"class":535,"line":859},[533,1377,1378],{"class":543},"  },\n",[533,1380,1381,1383],{"class":535,"line":874},[533,1382,744],{"class":543},[533,1384,747],{"class":547},[569,1386,1388],{"id":1387},"override-options","Override Options",[454,1390,1391],{},"Pass options directly to override any configuration:",[522,1393,1396],{"className":524,"code":1394,"filename":1395,"language":527,"meta":528,"style":528},"const drain = createPostHogDrain({\n  host: 'https:\u002F\u002Feu.i.posthog.com',\n  timeout: 10000,\n})\n","server\u002Fplugins\u002Fevlog-drain.ts",[530,1397,1398,1414,1430,1443],{"__ignoreMap":528},[533,1399,1400,1403,1406,1408,1410,1412],{"class":535,"line":536},[533,1401,1402],{"class":698},"const",[533,1404,1405],{"class":547}," drain ",[533,1407,623],{"class":543},[533,1409,548],{"class":683},[533,1411,687],{"class":547},[533,1413,838],{"class":543},[533,1415,1416,1419,1421,1423,1426,1428],{"class":535,"line":648},[533,1417,1418],{"class":722},"  host",[533,1420,846],{"class":543},[533,1422,557],{"class":543},[533,1424,1425],{"class":560},"https:\u002F\u002Feu.i.posthog.com",[533,1427,725],{"class":543},[533,1429,856],{"class":543},[533,1431,1432,1435,1437,1441],{"class":535,"line":667},[533,1433,1434],{"class":722},"  timeout",[533,1436,846],{"class":543},[533,1438,1440],{"class":1439},"sbssI"," 10000",[533,1442,856],{"class":543},[533,1444,1445,1447],{"class":535,"line":674},[533,1446,744],{"class":543},[533,1448,747],{"class":547},[569,1450,1452],{"id":1451},"full-configuration-reference","Full Configuration Reference",[1253,1454,1455,1470],{},[1256,1456,1457],{},[1259,1458,1459,1462,1465,1468],{},[1262,1460,1461],{},"Option",[1262,1463,1464],{},"Type",[1262,1466,1467],{},"Default",[1262,1469,1267],{},[1269,1471,1472,1490,1509],{},[1259,1473,1474,1479,1484,1487],{},[1274,1475,1476],{},[530,1477,1478],{},"apiKey",[1274,1480,1481],{},[530,1482,1483],{},"string",[1274,1485,1486],{},"-",[1274,1488,1489],{},"Project API key (required)",[1259,1491,1492,1497,1501,1506],{},[1274,1493,1494],{},[530,1495,1496],{},"host",[1274,1498,1499],{},[530,1500,1483],{},[1274,1502,1503],{},[530,1504,1505],{},"https:\u002F\u002Fus.i.posthog.com",[1274,1507,1508],{},"PostHog host URL",[1259,1510,1511,1516,1521,1526],{},[1274,1512,1513],{},[530,1514,1515],{},"timeout",[1274,1517,1518],{},[530,1519,1520],{},"number",[1274,1522,1523],{},[530,1524,1525],{},"5000",[1274,1527,1528],{},"Request timeout in milliseconds",[515,1530,1532],{"id":1531},"how-it-works","How It Works",[454,1534,1535,1536,1538,1539,1542],{},"Under the hood, ",[530,1537,1228],{}," wraps the OTLP adapter's ",[530,1540,1541],{},"sendBatchToOTLP()"," with PostHog-specific defaults:",[1544,1545,1546,1556,1565],"ul",{},[481,1547,1548,1551,1552,1555],{},[587,1549,1550],{},"Endpoint",": ",[530,1553,1554],{},"{host}\u002Fi\u002Fv1\u002Flogs"," (PostHog's OTLP log ingest endpoint)",[481,1557,1558,1551,1561,1564],{},[587,1559,1560],{},"Auth",[530,1562,1563],{},"Authorization: Bearer {apiKey}"," header",[481,1566,1567,1570,1571,1574],{},[587,1568,1569],{},"Format",": Standard OTLP ",[530,1572,1573],{},"ExportLogsServiceRequest"," with severity levels, trace context, and structured attributes",[515,1576,1578],{"id":1577},"regions","Regions",[454,1580,1581,1582,1584],{},"PostHog offers US and EU cloud hosting. Set the ",[530,1583,1496],{}," to match your region:",[1253,1586,1587,1597],{},[1256,1588,1589],{},[1259,1590,1591,1594],{},[1262,1592,1593],{},"Region",[1262,1595,1596],{},"Host",[1269,1598,1599,1608,1617],{},[1259,1600,1601,1604],{},[1274,1602,1603],{},"US (default)",[1274,1605,1606],{},[530,1607,1505],{},[1259,1609,1610,1613],{},[1274,1611,1612],{},"EU",[1274,1614,1615],{},[530,1616,1425],{},[1259,1618,1619,1622],{},[1274,1620,1621],{},"Self-hosted",[1274,1623,1624],{},"Your instance URL",[522,1626,1628],{"className":610,"code":1627,"filename":612,"language":613,"meta":528,"style":528},"# EU region\nPOSTHOG_API_KEY=phc_xxx\nPOSTHOG_HOST=https:\u002F\u002Feu.i.posthog.com\n",[530,1629,1630,1635,1644],{"__ignoreMap":528},[533,1631,1632],{"class":535,"line":536},[533,1633,1634],{"class":644},"# EU region\n",[533,1636,1637,1639,1641],{"class":535,"line":648},[533,1638,620],{"class":547},[533,1640,623],{"class":543},[533,1642,1643],{"class":560},"phc_xxx\n",[533,1645,1646,1648,1650],{"class":535,"line":667},[533,1647,1289],{"class":547},[533,1649,623],{"class":543},[533,1651,1652],{"class":560},"https:\u002F\u002Feu.i.posthog.com\n",[515,1654,1656],{"id":1655},"querying-logs-in-posthog","Querying Logs in PostHog",[454,1658,1659,1660,1663],{},"Once your logs are flowing, use the ",[587,1661,1662],{},"Logs"," tab in PostHog to query them:",[478,1665,1666,1671,1674],{},[481,1667,585,1668,1670],{},[587,1669,1662],{}," and filter by service, severity, or any structured attribute",[481,1672,1673],{},"Use the search bar to find specific log entries",[481,1675,1676],{},"Click on a log entry to see all structured attributes",[515,1678,1680],{"id":1679},"posthog-events-custom-events","PostHog Events (Custom Events)",[454,1682,1683,1684,1686,1687,846],{},"If you prefer sending logs as PostHog custom events (e.g., for product analytics, cohorts, or funnels), use ",[530,1685,1228],{}," with ",[530,1688,1689],{},"mode: 'events'",[522,1691,1693],{"className":524,"code":1692,"filename":1395,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nconst drain = createPostHogDrain({\n  mode: 'events',\n  eventName: 'server_request',\n  distinctId: 'my-backend-service',\n})\n",[530,1694,1695,1713,1717,1731,1747,1763,1779],{"__ignoreMap":528},[533,1696,1697,1699,1701,1703,1705,1707,1709,1711],{"class":535,"line":536},[533,1698,540],{"class":539},[533,1700,544],{"class":543},[533,1702,548],{"class":547},[533,1704,551],{"class":543},[533,1706,554],{"class":539},[533,1708,557],{"class":543},[533,1710,561],{"class":560},[533,1712,564],{"class":543},[533,1714,1715],{"class":535,"line":648},[533,1716,671],{"emptyLinePlaceholder":670},[533,1718,1719,1721,1723,1725,1727,1729],{"class":535,"line":667},[533,1720,1402],{"class":698},[533,1722,1405],{"class":547},[533,1724,623],{"class":543},[533,1726,548],{"class":683},[533,1728,687],{"class":547},[533,1730,838],{"class":543},[533,1732,1733,1736,1738,1740,1743,1745],{"class":535,"line":674},[533,1734,1735],{"class":722},"  mode",[533,1737,846],{"class":543},[533,1739,557],{"class":543},[533,1741,1742],{"class":560},"events",[533,1744,725],{"class":543},[533,1746,856],{"class":543},[533,1748,1749,1752,1754,1756,1759,1761],{"class":535,"line":705},[533,1750,1751],{"class":722},"  eventName",[533,1753,846],{"class":543},[533,1755,557],{"class":543},[533,1757,1758],{"class":560},"server_request",[533,1760,725],{"class":543},[533,1762,856],{"class":543},[533,1764,1765,1768,1770,1772,1775,1777],{"class":535,"line":741},[533,1766,1767],{"class":722},"  distinctId",[533,1769,846],{"class":543},[533,1771,557],{"class":543},[533,1773,1774],{"class":560},"my-backend-service",[533,1776,725],{"class":543},[533,1778,856],{"class":543},[533,1780,1781,1783],{"class":535,"line":859},[533,1782,744],{"class":543},[533,1784,747],{"class":547},[454,1786,1787,1788,1791,1792,1795],{},"Then pass ",[530,1789,1790],{},"drain"," to your framework the same way as the default logs drain (see ",[457,1793,25],{"href":1794},"#quick-start"," above).",[1797,1798,1800,1801,1803],"callout",{"color":1799,"icon":13},"info","Custom events count towards your PostHog event quota. PostHog Logs (the default ",[530,1802,1228],{},") is significantly cheaper.",[1797,1805,1808,1811,1812,1815,1816,1819],{"color":1806,"icon":1807},"warning","i-lucide-triangle-alert",[587,1809,1810],{},"Legacy:"," ",[530,1813,1814],{},"createPostHogEventsDrain()"," is deprecated and re-routes to ",[530,1817,1818],{},"createPostHogDrain({ mode: 'events' })",". It will be removed in the next major release.",[569,1821,1823],{"id":1822},"events-configuration","Events Configuration",[1253,1825,1826,1838],{},[1256,1827,1828],{},[1259,1829,1830,1832,1834,1836],{},[1262,1831,1461],{},[1262,1833,1464],{},[1262,1835,1467],{},[1262,1837,1267],{},[1269,1839,1840,1854,1870,1889,1912],{},[1259,1841,1842,1846,1850,1852],{},[1274,1843,1844],{},[530,1845,1478],{},[1274,1847,1848],{},[530,1849,1483],{},[1274,1851,1486],{},[1274,1853,1489],{},[1259,1855,1856,1860,1864,1868],{},[1274,1857,1858],{},[530,1859,1496],{},[1274,1861,1862],{},[530,1863,1483],{},[1274,1865,1866],{},[530,1867,1505],{},[1274,1869,1508],{},[1259,1871,1872,1877,1881,1886],{},[1274,1873,1874],{},[530,1875,1876],{},"eventName",[1274,1878,1879],{},[530,1880,1483],{},[1274,1882,1883],{},[530,1884,1885],{},"evlog_wide_event",[1274,1887,1888],{},"PostHog event name",[1259,1890,1891,1896,1900,1905],{},[1274,1892,1893],{},[530,1894,1895],{},"distinctId",[1274,1897,1898],{},[530,1899,1483],{},[1274,1901,1902],{},[530,1903,1904],{},"event.service",[1274,1906,1907,1908,1911],{},"Override ",[530,1909,1910],{},"distinct_id"," for all events",[1259,1913,1914,1918,1922,1926],{},[1274,1915,1916],{},[530,1917,1515],{},[1274,1919,1920],{},[530,1921,1520],{},[1274,1923,1924],{},[530,1925,1525],{},[1274,1927,1528],{},[569,1929,1931],{"id":1930},"event-format","Event Format",[454,1933,1934],{},"evlog maps wide events to PostHog events:",[1253,1936,1937,1947],{},[1256,1938,1939],{},[1259,1940,1941,1944],{},[1262,1942,1943],{},"evlog Field",[1262,1945,1946],{},"PostHog Field",[1269,1948,1949,1968,1979,1991,2002,2014],{},[1259,1950,1951,1963],{},[1274,1952,1953,1956,1957,1956,1960],{},[530,1954,1955],{},"config.distinctId"," or ",[530,1958,1959],{},"userId",[530,1961,1962],{},"service",[1274,1964,1965,1967],{},[530,1966,1910],{}," (fallback chain)",[1259,1969,1970,1975],{},[1274,1971,1972],{},[530,1973,1974],{},"timestamp",[1274,1976,1977],{},[530,1978,1974],{},[1259,1980,1981,1986],{},[1274,1982,1983],{},[530,1984,1985],{},"level",[1274,1987,1988],{},[530,1989,1990],{},"properties.level",[1259,1992,1993,1997],{},[1274,1994,1995],{},[530,1996,1962],{},[1274,1998,1999],{},[530,2000,2001],{},"properties.service",[1259,2003,2004,2009],{},[1274,2005,2006],{},[530,2007,2008],{},"environment",[1274,2010,2011],{},[530,2012,2013],{},"properties.environment",[1259,2015,2016,2019],{},[1274,2017,2018],{},"All other fields",[1274,2020,2021],{},[530,2022,2023],{},"properties.*",[569,2025,2027],{"id":2026},"distinct-id-resolution","Distinct ID Resolution",[454,2029,2030,2031,2033],{},"The ",[530,2032,1910],{}," follows a fallback chain:",[478,2035,2036,2045,2053],{},[481,2037,2038,2042,2043],{},[587,2039,2040],{},[530,2041,1955],{}," - explicit override in ",[530,2044,1818],{},[481,2046,2047,2052],{},[587,2048,2049],{},[530,2050,2051],{},"event.userId"," - automatically picked up if present as a string",[481,2054,2055,2059],{},[587,2056,2057],{},[530,2058,1904],{}," - final fallback",[569,2061,2063],{"id":2062},"logs-vs-events","Logs vs Events",[1253,2065,2066,2080],{},[1256,2067,2068],{},[1259,2069,2070,2072,2076],{},[1262,2071],{},[1262,2073,2074],{},[530,2075,1228],{},[1262,2077,2078],{},[530,2079,1818],{},[1269,2081,2082,2100,2113,2126],{},[1259,2083,2084,2088,2094],{},[1274,2085,2086],{},[587,2087,1569],{},[1274,2089,2090,2091,603],{},"OTLP Logs (",[530,2092,2093],{},"\u002Fi\u002Fv1\u002Flogs",[1274,2095,2096,2097,603],{},"PostHog Events (",[530,2098,2099],{},"\u002Fbatch\u002F",[1259,2101,2102,2107,2110],{},[1274,2103,2104],{},[587,2105,2106],{},"PostHog UI",[1274,2108,2109],{},"Logs viewer",[1274,2111,2112],{},"Events explorer",[1259,2114,2115,2120,2123],{},[1274,2116,2117],{},[587,2118,2119],{},"Cost",[1274,2121,2122],{},"Lower (dedicated logs pipeline)",[1274,2124,2125],{},"Higher (counts as events)",[1259,2127,2128,2133,2136],{},[1274,2129,2130],{},[587,2131,2132],{},"Best for",[1274,2134,2135],{},"Debugging, log search, observability",[1274,2137,2138],{},"Product analytics, cohorts, funnels",[454,2140,2141],{},"You can use both drains simultaneously to get the best of both worlds:",[522,2143,2145],{"className":524,"code":2144,"filename":1395,"language":527,"meta":528,"style":528},"import { createPostHogDrain } from 'evlog\u002Fposthog'\n\nconst logs = createPostHogDrain()\nconst events = createPostHogDrain({ mode: 'events' })\n\nconst drain = async (ctx) => {\n  await Promise.allSettled([logs(ctx), events(ctx)])\n}\n",[530,2146,2147,2165,2169,2183,2213,2217,2239,2277],{"__ignoreMap":528},[533,2148,2149,2151,2153,2155,2157,2159,2161,2163],{"class":535,"line":536},[533,2150,540],{"class":539},[533,2152,544],{"class":543},[533,2154,548],{"class":547},[533,2156,551],{"class":543},[533,2158,554],{"class":539},[533,2160,557],{"class":543},[533,2162,561],{"class":560},[533,2164,564],{"class":543},[533,2166,2167],{"class":535,"line":648},[533,2168,671],{"emptyLinePlaceholder":670},[533,2170,2171,2173,2176,2178,2180],{"class":535,"line":667},[533,2172,1402],{"class":698},[533,2174,2175],{"class":547}," logs ",[533,2177,623],{"class":543},[533,2179,548],{"class":683},[533,2181,2182],{"class":547},"()\n",[533,2184,2185,2187,2190,2192,2194,2196,2198,2201,2203,2205,2207,2209,2211],{"class":535,"line":674},[533,2186,1402],{"class":698},[533,2188,2189],{"class":547}," events ",[533,2191,623],{"class":543},[533,2193,548],{"class":683},[533,2195,687],{"class":547},[533,2197,925],{"class":543},[533,2199,2200],{"class":722}," mode",[533,2202,846],{"class":543},[533,2204,557],{"class":543},[533,2206,1742],{"class":560},[533,2208,725],{"class":543},[533,2210,551],{"class":543},[533,2212,747],{"class":547},[533,2214,2215],{"class":535,"line":705},[533,2216,671],{"emptyLinePlaceholder":670},[533,2218,2219,2221,2223,2225,2228,2230,2233,2235,2237],{"class":535,"line":741},[533,2220,1402],{"class":698},[533,2222,1405],{"class":547},[533,2224,623],{"class":543},[533,2226,2227],{"class":698}," async",[533,2229,1244],{"class":543},[533,2231,2232],{"class":692},"ctx",[533,2234,603],{"class":543},[533,2236,699],{"class":698},[533,2238,702],{"class":543},[533,2240,2241,2244,2248,2250,2253,2256,2259,2261,2263,2265,2267,2270,2272,2274],{"class":535,"line":859},[533,2242,2243],{"class":539},"  await",[533,2245,2247],{"class":2246},"sBMFI"," Promise",[533,2249,711],{"class":543},[533,2251,2252],{"class":683},"allSettled",[533,2254,2255],{"class":722},"([",[533,2257,2258],{"class":683},"logs",[533,2260,687],{"class":722},[533,2262,2232],{"class":547},[533,2264,603],{"class":722},[533,2266,733],{"class":543},[533,2268,2269],{"class":683}," events",[533,2271,687],{"class":722},[533,2273,2232],{"class":547},[533,2275,2276],{"class":722},")])\n",[533,2278,2279],{"class":535,"line":874},[533,2280,2281],{"class":543},"}\n",[515,2283,2285],{"id":2284},"troubleshooting","Troubleshooting",[569,2287,2289],{"id":2288},"missing-apikey-error","Missing apiKey error",[522,2291,2297],{"className":2292,"code":2294,"filename":2295,"language":2296,"meta":528},[2293],"language-text","[evlog\u002Fposthog] Missing apiKey. Set POSTHOG_API_KEY env var or pass to createPostHogDrain()\n","Console","text",[530,2298,2294],{"__ignoreMap":528},[454,2300,2301],{},"Make sure your environment variable is set and the server was restarted after adding it.",[569,2303,2305],{"id":2304},"events-not-appearing","Events not appearing",[454,2307,2308],{},"PostHog processes events asynchronously. There may be a short delay (typically under 1 minute) before events appear in the dashboard.",[478,2310,2311,2318,2323],{},[481,2312,2313,2314,2317],{},"Check the server console for ",[530,2315,2316],{},"[evlog\u002Fposthog]"," error messages",[481,2319,2320,2321],{},"Verify your API key is correct and starts with ",[530,2322,602],{},[481,2324,2325,2326,2328],{},"Confirm your ",[530,2327,1496],{}," matches your PostHog region (US vs EU)",[569,2330,2332],{"id":2331},"wrong-region","Wrong region",[454,2334,2335,2336,2338],{},"If you're on PostHog EU but using the default US host, event delivery will fail and the adapter will log errors (for example under ",[530,2337,2316],{},") to your server console. Set the correct host:",[522,2340,2342],{"className":610,"code":2341,"filename":612,"language":613,"meta":528,"style":528},"POSTHOG_HOST=https:\u002F\u002Feu.i.posthog.com\n",[530,2343,2344],{"__ignoreMap":528},[533,2345,2346,2348,2350],{"class":535,"line":536},[533,2347,1289],{"class":547},[533,2349,623],{"class":543},[533,2351,1652],{"class":560},[515,2353,2355],{"id":2354},"direct-api-usage","Direct API Usage",[454,2357,2358],{},"For advanced use cases, you can use the lower-level functions:",[522,2360,2363],{"className":524,"code":2361,"filename":2362,"language":527,"meta":528,"style":528},"import { sendToPostHog, sendBatchToPostHog } from 'evlog\u002Fposthog'\n\n\u002F\u002F Send a single event to PostHog Logs (OTLP)\nawait sendToPostHog(event, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Send multiple events in one request\nawait sendBatchToPostHog(events, {\n  apiKey: 'phc_xxx',\n})\n","server\u002Futils\u002Fposthog.ts",[530,2364,2365,2389,2393,2398,2411,2427,2433,2437,2442,2456,2471],{"__ignoreMap":528},[533,2366,2367,2369,2371,2374,2376,2379,2381,2383,2385,2387],{"class":535,"line":536},[533,2368,540],{"class":539},[533,2370,544],{"class":543},[533,2372,2373],{"class":547}," sendToPostHog",[533,2375,733],{"class":543},[533,2377,2378],{"class":547}," sendBatchToPostHog",[533,2380,551],{"class":543},[533,2382,554],{"class":539},[533,2384,557],{"class":543},[533,2386,561],{"class":560},[533,2388,564],{"class":543},[533,2390,2391],{"class":535,"line":648},[533,2392,671],{"emptyLinePlaceholder":670},[533,2394,2395],{"class":535,"line":667},[533,2396,2397],{"class":644},"\u002F\u002F Send a single event to PostHog Logs (OTLP)\n",[533,2399,2400,2402,2404,2407,2409],{"class":535,"line":674},[533,2401,1026],{"class":539},[533,2403,2373],{"class":683},[533,2405,2406],{"class":547},"(event",[533,2408,733],{"class":543},[533,2410,702],{"class":543},[533,2412,2413,2416,2418,2420,2423,2425],{"class":535,"line":705},[533,2414,2415],{"class":722},"  apiKey",[533,2417,846],{"class":543},[533,2419,557],{"class":543},[533,2421,2422],{"class":560},"phc_xxx",[533,2424,725],{"class":543},[533,2426,856],{"class":543},[533,2428,2429,2431],{"class":535,"line":741},[533,2430,744],{"class":543},[533,2432,747],{"class":547},[533,2434,2435],{"class":535,"line":859},[533,2436,671],{"emptyLinePlaceholder":670},[533,2438,2439],{"class":535,"line":874},[533,2440,2441],{"class":644},"\u002F\u002F Send multiple events in one request\n",[533,2443,2445,2447,2449,2452,2454],{"class":535,"line":2444},9,[533,2446,1026],{"class":539},[533,2448,2378],{"class":683},[533,2450,2451],{"class":547},"(events",[533,2453,733],{"class":543},[533,2455,702],{"class":543},[533,2457,2459,2461,2463,2465,2467,2469],{"class":535,"line":2458},10,[533,2460,2415],{"class":722},[533,2462,846],{"class":543},[533,2464,557],{"class":543},[533,2466,2422],{"class":560},[533,2468,725],{"class":543},[533,2470,856],{"class":543},[533,2472,2474,2476],{"class":535,"line":2473},11,[533,2475,744],{"class":543},[533,2477,747],{"class":547},[454,2479,2480],{},"For custom events, use the events-specific functions:",[522,2482,2484],{"className":524,"code":2483,"filename":2362,"language":527,"meta":528,"style":528},"import { sendToPostHogEvents, sendBatchToPostHogEvents, toPostHogEvent } from 'evlog\u002Fposthog'\n\n\u002F\u002F Send a single custom event\nawait sendToPostHogEvents(event, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Send multiple custom events in one request\nawait sendBatchToPostHogEvents(events, {\n  apiKey: 'phc_xxx',\n})\n\n\u002F\u002F Convert event to PostHog format (for inspection)\nconst posthogEvent = toPostHogEvent(event, { apiKey: 'phc_xxx' })\n",[530,2485,2486,2515,2519,2524,2536,2550,2556,2560,2565,2577,2591,2597,2602,2608],{"__ignoreMap":528},[533,2487,2488,2490,2492,2495,2497,2500,2502,2505,2507,2509,2511,2513],{"class":535,"line":536},[533,2489,540],{"class":539},[533,2491,544],{"class":543},[533,2493,2494],{"class":547}," sendToPostHogEvents",[533,2496,733],{"class":543},[533,2498,2499],{"class":547}," sendBatchToPostHogEvents",[533,2501,733],{"class":543},[533,2503,2504],{"class":547}," toPostHogEvent",[533,2506,551],{"class":543},[533,2508,554],{"class":539},[533,2510,557],{"class":543},[533,2512,561],{"class":560},[533,2514,564],{"class":543},[533,2516,2517],{"class":535,"line":648},[533,2518,671],{"emptyLinePlaceholder":670},[533,2520,2521],{"class":535,"line":667},[533,2522,2523],{"class":644},"\u002F\u002F Send a single custom event\n",[533,2525,2526,2528,2530,2532,2534],{"class":535,"line":674},[533,2527,1026],{"class":539},[533,2529,2494],{"class":683},[533,2531,2406],{"class":547},[533,2533,733],{"class":543},[533,2535,702],{"class":543},[533,2537,2538,2540,2542,2544,2546,2548],{"class":535,"line":705},[533,2539,2415],{"class":722},[533,2541,846],{"class":543},[533,2543,557],{"class":543},[533,2545,2422],{"class":560},[533,2547,725],{"class":543},[533,2549,856],{"class":543},[533,2551,2552,2554],{"class":535,"line":741},[533,2553,744],{"class":543},[533,2555,747],{"class":547},[533,2557,2558],{"class":535,"line":859},[533,2559,671],{"emptyLinePlaceholder":670},[533,2561,2562],{"class":535,"line":874},[533,2563,2564],{"class":644},"\u002F\u002F Send multiple custom events in one request\n",[533,2566,2567,2569,2571,2573,2575],{"class":535,"line":2444},[533,2568,1026],{"class":539},[533,2570,2499],{"class":683},[533,2572,2451],{"class":547},[533,2574,733],{"class":543},[533,2576,702],{"class":543},[533,2578,2579,2581,2583,2585,2587,2589],{"class":535,"line":2458},[533,2580,2415],{"class":722},[533,2582,846],{"class":543},[533,2584,557],{"class":543},[533,2586,2422],{"class":560},[533,2588,725],{"class":543},[533,2590,856],{"class":543},[533,2592,2593,2595],{"class":535,"line":2473},[533,2594,744],{"class":543},[533,2596,747],{"class":547},[533,2598,2600],{"class":535,"line":2599},12,[533,2601,671],{"emptyLinePlaceholder":670},[533,2603,2605],{"class":535,"line":2604},13,[533,2606,2607],{"class":644},"\u002F\u002F Convert event to PostHog format (for inspection)\n",[533,2609,2611,2613,2616,2618,2620,2622,2624,2626,2629,2631,2633,2635,2637,2639],{"class":535,"line":2610},14,[533,2612,1402],{"class":698},[533,2614,2615],{"class":547}," posthogEvent ",[533,2617,623],{"class":543},[533,2619,2504],{"class":683},[533,2621,2406],{"class":547},[533,2623,733],{"class":543},[533,2625,544],{"class":543},[533,2627,2628],{"class":722}," apiKey",[533,2630,846],{"class":543},[533,2632,557],{"class":543},[533,2634,2422],{"class":560},[533,2636,725],{"class":543},[533,2638,551],{"class":543},[533,2640,747],{"class":547},[515,2642,2644],{"id":2643},"next-steps","Next Steps",[1544,2646,2647,2653,2659,2665],{},[481,2648,2649,2652],{},[457,2650,2651],{"href":104},"Axiom Adapter"," - Send logs to Axiom",[481,2654,2655,2658],{},[457,2656,2657],{"href":109},"OTLP Adapter"," - Send logs via OpenTelemetry Protocol",[481,2660,2661,2664],{},[457,2662,2663],{"href":408},"Custom Adapters"," - Build your own adapter",[481,2666,2667,2669],{},[457,2668,435],{"href":436}," - Security and production tips",[2671,2672,2673],"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 .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 .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 pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":528,"searchDepth":648,"depth":648,"links":2675},[2676,2677,2682,2688,2689,2690,2691,2697,2702,2703],{"id":517,"depth":648,"text":20},{"id":567,"depth":648,"text":25,"children":2678},[2679,2680,2681],{"id":571,"depth":667,"text":572},{"id":606,"depth":667,"text":607},{"id":629,"depth":667,"text":630},{"id":1214,"depth":648,"text":422,"children":2683},[2684,2685,2686,2687],{"id":1250,"depth":667,"text":1251},{"id":1295,"depth":667,"text":1296},{"id":1387,"depth":667,"text":1388},{"id":1451,"depth":667,"text":1452},{"id":1531,"depth":648,"text":1532},{"id":1577,"depth":648,"text":1578},{"id":1655,"depth":648,"text":1656},{"id":1679,"depth":648,"text":1680,"children":2692},[2693,2694,2695,2696],{"id":1822,"depth":667,"text":1823},{"id":1930,"depth":667,"text":1931},{"id":2026,"depth":667,"text":2027},{"id":2062,"depth":667,"text":2063},{"id":2284,"depth":648,"text":2285,"children":2698},[2699,2700,2701],{"id":2288,"depth":667,"text":2289},{"id":2304,"depth":667,"text":2305},{"id":2331,"depth":667,"text":2332},{"id":2354,"depth":648,"text":2355},{"id":2643,"depth":648,"text":2644},"Send wide events to PostHog Logs via OTLP for structured log querying, debugging, and observability in your PostHog dashboard.","md",[2707,2713],{"label":2708,"icon":2709,"to":580,"target":2710,"color":2711,"variant":2712},"PostHog Dashboard","i-lucide-external-link","_blank","neutral","subtle",{"label":2651,"icon":106,"to":104,"color":2711,"variant":2712},{},{"title":113,"icon":116},{"title":449,"description":2704},"n5RutzIO0_eqC8Lk8MavWrbt9fCbGGbVy6bAUFDnixk",[2719,2721],{"title":108,"path":109,"stem":110,"description":2720,"icon":111,"children":-1},"Send logs via OpenTelemetry Protocol (OTLP) to Grafana, Datadog, Honeycomb, and any compatible backend. Supports gRPC and HTTP transports.",{"title":118,"path":119,"stem":120,"description":2722,"icon":121,"children":-1},"Send structured logs to Sentry Logs for high-cardinality querying and debugging. Zero-config setup with environment variables.",1782924670464]