[{"data":1,"prerenderedAt":1731},["ShallowReactive",2],{"navigation_docs":3,"-logging-overview":547,"-logging-overview-surround":1726},[4,35,159,201,289,446,531],{"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,325,346,373,400,428],{"title":41,"path":295,"stem":296,"icon":54},"\u002Fbuild-on-top\u002Foverview","5.build-on-top\u002F0.overview",{"title":298,"path":299,"stem":300,"children":301,"page":34},"Observers","\u002Fbuild-on-top\u002Fobservers","5.build-on-top\u002Fobservers",[302,306,311,316,321],{"title":41,"path":303,"stem":304,"icon":305},"\u002Fbuild-on-top\u002Fobservers\u002Foverview","5.build-on-top\u002Fobservers\u002F1.overview","i-lucide-eye",{"title":307,"path":308,"stem":309,"icon":310},"Stream API","\u002Fbuild-on-top\u002Fobservers\u002Fin-process-stream","5.build-on-top\u002Fobservers\u002F2.in-process-stream","i-lucide-radio-tower",{"title":312,"path":313,"stem":314,"icon":315},"Stream server","\u002Fbuild-on-top\u002Fobservers\u002Fstream-server","5.build-on-top\u002Fobservers\u002F3.stream-server","i-lucide-radio",{"title":317,"path":318,"stem":319,"icon":320},"FS reader","\u002Fbuild-on-top\u002Fobservers\u002Ffs-reader","5.build-on-top\u002Fobservers\u002F4.fs-reader","i-lucide-folder-search",{"title":156,"path":322,"stem":323,"icon":324},"\u002Fbuild-on-top\u002Fobservers\u002Fconsumer-recipes","5.build-on-top\u002Fobservers\u002F5.consumer-recipes","i-lucide-chef-hat",{"title":326,"path":327,"stem":328,"children":329,"page":34},"Pipeline","\u002Fbuild-on-top\u002Fpipeline","5.build-on-top\u002Fpipeline",[330,334,338,342],{"title":41,"path":331,"stem":332,"icon":333},"\u002Fbuild-on-top\u002Fpipeline\u002Foverview","5.build-on-top\u002Fpipeline\u002F1.overview","i-lucide-workflow",{"title":335,"path":336,"stem":337,"icon":288},"Plugins","\u002Fbuild-on-top\u002Fpipeline\u002Fplugins","5.build-on-top\u002Fpipeline\u002F2.plugins",{"title":339,"path":340,"stem":341,"icon":28},"Custom enrichers","\u002Fbuild-on-top\u002Fpipeline\u002Fcustom-enrichers","5.build-on-top\u002Fpipeline\u002F3.custom-enrichers",{"title":343,"path":344,"stem":345,"icon":178},"Tail sampling","\u002Fbuild-on-top\u002Fpipeline\u002Ftail-sampling","5.build-on-top\u002Fpipeline\u002F4.tail-sampling",{"title":347,"path":348,"stem":349,"children":350,"page":34},"Scenarios","\u002Fbuild-on-top\u002Fscenarios","5.build-on-top\u002Fscenarios",[351,355,359,364,368],{"title":41,"path":352,"stem":353,"icon":354},"\u002Fbuild-on-top\u002Fscenarios\u002Foverview","5.build-on-top\u002Fscenarios\u002F0.overview","i-lucide-clipboard-list",{"title":356,"path":357,"stem":358,"icon":49},"Local debugging toolkit","\u002Fbuild-on-top\u002Fscenarios\u002Flocal-debugging-toolkit","5.build-on-top\u002Fscenarios\u002F1.local-debugging-toolkit",{"title":360,"path":361,"stem":362,"icon":363},"Tenant-aware logging","\u002Fbuild-on-top\u002Fscenarios\u002Ftenant-aware-logging","5.build-on-top\u002Fscenarios\u002F2.tenant-aware-logging","i-lucide-users",{"title":365,"path":366,"stem":367,"icon":129},"Compliance audit","\u002Fbuild-on-top\u002Fscenarios\u002Fcompliance-audit","5.build-on-top\u002Fscenarios\u002F3.compliance-audit",{"title":369,"path":370,"stem":371,"icon":372},"Cross-app error vocab","\u002Fbuild-on-top\u002Fscenarios\u002Fcross-app-error-vocab","5.build-on-top\u002Fscenarios\u002F4.cross-app-error-vocab","i-lucide-book",{"title":374,"path":375,"stem":376,"children":377,"page":34},"Shared packages","\u002Fbuild-on-top\u002Fshared","5.build-on-top\u002Fshared",[378,382,386,391,395],{"title":41,"path":379,"stem":380,"icon":381},"\u002Fbuild-on-top\u002Fshared\u002Foverview","5.build-on-top\u002Fshared\u002F1.overview","i-lucide-package",{"title":383,"path":384,"stem":385,"icon":381},"Catalogs as packages","\u002Fbuild-on-top\u002Fshared\u002Fcatalogs-as-packages","5.build-on-top\u002Fshared\u002F2.catalogs-as-packages",{"title":387,"path":388,"stem":389,"icon":390},"Drains as packages","\u002Fbuild-on-top\u002Fshared\u002Fdrains-as-packages","5.build-on-top\u002Fshared\u002F3.drains-as-packages","i-lucide-package-2",{"title":392,"path":393,"stem":394,"icon":28},"Enrichers as packages","\u002Fbuild-on-top\u002Fshared\u002Fenrichers-as-packages","5.build-on-top\u002Fshared\u002F4.enrichers-as-packages",{"title":396,"path":397,"stem":398,"icon":399},"Integration as package","\u002Fbuild-on-top\u002Fshared\u002Fintegration-as-package","5.build-on-top\u002Fshared\u002F5.integration-as-package","i-lucide-package-check",{"title":401,"path":402,"stem":403,"children":404,"page":34},"Sinks","\u002Fbuild-on-top\u002Fsinks","5.build-on-top\u002Fsinks",[405,409,414,418,423],{"title":41,"path":406,"stem":407,"icon":408},"\u002Fbuild-on-top\u002Fsinks\u002Foverview","5.build-on-top\u002Fsinks\u002F1.overview","i-lucide-arrow-up-from-line",{"title":410,"path":411,"stem":412,"icon":413},"Custom drains","\u002Fbuild-on-top\u002Fsinks\u002Fcustom-drains","5.build-on-top\u002Fsinks\u002F2.custom-drains","i-lucide-code-2",{"title":415,"path":416,"stem":417,"icon":333},"Drain pipeline","\u002Fbuild-on-top\u002Fsinks\u002Fdrain-pipeline","5.build-on-top\u002Fsinks\u002F3.drain-pipeline",{"title":419,"path":420,"stem":421,"icon":422},"Identity headers","\u002Fbuild-on-top\u002Fsinks\u002Fidentity-headers","5.build-on-top\u002Fsinks\u002F4.identity-headers","i-lucide-fingerprint",{"title":424,"path":425,"stem":426,"icon":427},"Fanout","\u002Fbuild-on-top\u002Fsinks\u002Ffanout-and-multi-drain","5.build-on-top\u002Fsinks\u002F5.fanout-and-multi-drain","i-lucide-share-2",{"title":429,"path":430,"stem":431,"children":432,"page":34},"Sources","\u002Fbuild-on-top\u002Fsources","5.build-on-top\u002Fsources",[433,437,441],{"title":41,"path":434,"stem":435,"icon":436},"\u002Fbuild-on-top\u002Fsources\u002Foverview","5.build-on-top\u002Fsources\u002F1.overview","i-lucide-arrow-down-to-line",{"title":438,"path":439,"stem":440,"icon":288},"Custom framework","\u002Fbuild-on-top\u002Fsources\u002Fcustom-framework","5.build-on-top\u002Fsources\u002F2.custom-framework",{"title":442,"path":443,"stem":444,"icon":445},"Middleware toolkit","\u002Fbuild-on-top\u002Fsources\u002Fmiddleware-toolkit","5.build-on-top\u002Fsources\u002F3.middleware-toolkit","i-lucide-wrench",{"title":447,"path":448,"stem":449,"children":450,"page":34},"Adapters","\u002Fadapters","6.adapters",[451,454,494,509],{"title":41,"path":452,"stem":453,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":455,"path":456,"stem":457,"children":458,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[459,464,469,474,479,484,489],{"title":460,"path":461,"stem":462,"icon":463},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":465,"path":466,"stem":467,"icon":468},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":470,"path":471,"stem":472,"icon":473},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":475,"path":476,"stem":477,"icon":478},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":480,"path":481,"stem":482,"icon":483},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":485,"path":486,"stem":487,"icon":488},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":490,"path":491,"stem":492,"icon":493},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":495,"path":496,"stem":497,"children":498,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[499,504],{"title":500,"path":501,"stem":502,"icon":503},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":505,"path":506,"stem":507,"icon":508},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":510,"path":511,"stem":512,"children":513,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[514,517,522,526],{"title":326,"path":515,"stem":516,"icon":333},"\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline",{"title":518,"path":519,"stem":520,"icon":521},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":523,"path":524,"stem":525,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":527,"path":528,"stem":529,"icon":530},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":532,"path":533,"stem":534,"children":535,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[536,539,543],{"title":41,"path":537,"stem":538,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":540,"path":541,"stem":542,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":544,"path":545,"stem":546,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":548,"title":549,"body":550,"description":1716,"extension":1717,"links":1718,"meta":1722,"navigation":1723,"path":42,"seo":1724,"stem":43,"__hash__":1725},"docs\u002F2.logging\u002F0.overview.md","Logging Overview",{"type":551,"value":552,"toc":1701},"minimark",[553,557,562,574,579,613,617,626,629,771,782,785,1051,1069,1073,1080,1236,1254,1258,1373,1377,1600,1609,1613,1616,1668,1672,1697],[554,555,556],"p",{},"evlog provides three logging APIs, each designed for a different context. You can use all three in the same project.",[558,559,561],"callout",{"color":560,"icon":13},"info","All three modes coexist in the same logger. Pick per call — there's no upgrade path, no advanced mode, no toggle to flip. Same drains, same redaction, same types underneath.",[558,563,565,566,570,571,573],{"color":564,"icon":521},"neutral","Not running an HTTP framework? See ",[567,568,569],"a",{"href":272},"Standalone TypeScript"," and ",[567,572,266],{"href":267},".",[575,576,578],"h2",{"id":577},"the-three-modes","The Three Modes",[580,581,582,605,608],"card-group",{},[583,584,585,586,590,591,594,595,594,598,594,601,604],"card",{"color":564,"icon":49,"title":46,"to":47},"A fully-featured general-purpose logger. Replaces ",[587,588,589],"code",{},"console.log",", consola, pino, or winston with ",[587,592,593],{},"log.info",", ",[587,596,597],{},"log.error",[587,599,600],{},"log.warn",[587,602,603],{},"log.debug"," — same level filtering, drain pipeline, redaction, and pretty\u002FJSON output.",[583,606,607],{"color":564,"icon":54,"title":51,"to":52},"Accumulate context over a unit of work (a script, job, queue task, or request) then emit a single comprehensive event.",[583,609,612],{"color":564,"icon":610,"title":611,"to":207},"i-lucide-git-branch","Request Logging","Auto-managed wide events scoped to HTTP requests. Framework middleware creates the logger and emits it for you.",[575,614,616],{"id":615},"quick-comparison","Quick Comparison",[618,619,621,622,625],"h3",{"id":620},"simple-logging-log","Simple Logging (",[587,623,624],{},"log",")",[554,627,628],{},"One event per call. No accumulation, no lifecycle management.",[630,631,637],"pre",{"className":632,"code":633,"filename":634,"language":635,"meta":636,"style":636},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { log } from 'evlog'\n\nlog.info('auth', 'User logged in')\nlog.error({ action: 'payment', error: 'card_declined', userId: 42 })\n","src\u002Findex.ts","typescript","",[587,638,639,672,679,713],{"__ignoreMap":636},[640,641,644,648,652,656,659,662,665,669],"span",{"class":642,"line":643},"line",1,[640,645,647],{"class":646},"s7zQu","import",[640,649,651],{"class":650},"sMK4o"," {",[640,653,655],{"class":654},"sTEyZ"," log",[640,657,658],{"class":650}," }",[640,660,661],{"class":646}," from",[640,663,664],{"class":650}," '",[640,666,668],{"class":667},"sfazB","evlog",[640,670,671],{"class":650},"'\n",[640,673,675],{"class":642,"line":674},2,[640,676,678],{"emptyLinePlaceholder":677},true,"\n",[640,680,682,684,686,689,692,695,698,700,703,705,708,710],{"class":642,"line":681},3,[640,683,624],{"class":654},[640,685,573],{"class":650},[640,687,560],{"class":688},"s2Zo4",[640,690,691],{"class":654},"(",[640,693,694],{"class":650},"'",[640,696,697],{"class":667},"auth",[640,699,694],{"class":650},[640,701,702],{"class":650},",",[640,704,664],{"class":650},[640,706,707],{"class":667},"User logged in",[640,709,694],{"class":650},[640,711,712],{"class":654},")\n",[640,714,716,718,720,723,725,728,732,735,737,740,742,744,747,749,751,754,756,758,761,763,767,769],{"class":642,"line":715},4,[640,717,624],{"class":654},[640,719,573],{"class":650},[640,721,722],{"class":688},"error",[640,724,691],{"class":654},[640,726,727],{"class":650},"{",[640,729,731],{"class":730},"swJcz"," action",[640,733,734],{"class":650},":",[640,736,664],{"class":650},[640,738,739],{"class":667},"payment",[640,741,694],{"class":650},[640,743,702],{"class":650},[640,745,746],{"class":730}," error",[640,748,734],{"class":650},[640,750,664],{"class":650},[640,752,753],{"class":667},"card_declined",[640,755,694],{"class":650},[640,757,702],{"class":650},[640,759,760],{"class":730}," userId",[640,762,734],{"class":650},[640,764,766],{"class":765},"sbssI"," 42",[640,768,658],{"class":650},[640,770,712],{"class":654},[618,772,774,775,778,779,625],{"id":773},"wide-events-createlogger-createrequestlogger","Wide Events (",[587,776,777],{},"createLogger"," \u002F ",[587,780,781],{},"createRequestLogger",[554,783,784],{},"One event per unit of work. Accumulate context progressively, emit when done.",[786,787,788,921],"code-group",{},[630,789,792],{"className":632,"code":790,"filename":791,"language":635,"meta":636,"style":636},"import { createLogger } from 'evlog'\n\nconst log = createLogger({ jobId: 'sync-001', queue: 'emails' })\nlog.set({ batch: { size: 50, processed: 50 } })\nlog.emit()\n","scripts\u002Fsync-job.ts",[587,793,794,813,817,865,908],{"__ignoreMap":636},[640,795,796,798,800,803,805,807,809,811],{"class":642,"line":643},[640,797,647],{"class":646},[640,799,651],{"class":650},[640,801,802],{"class":654}," createLogger",[640,804,658],{"class":650},[640,806,661],{"class":646},[640,808,664],{"class":650},[640,810,668],{"class":667},[640,812,671],{"class":650},[640,814,815],{"class":642,"line":674},[640,816,678],{"emptyLinePlaceholder":677},[640,818,819,823,826,829,831,833,835,838,840,842,845,847,849,852,854,856,859,861,863],{"class":642,"line":681},[640,820,822],{"class":821},"spNyl","const",[640,824,825],{"class":654}," log ",[640,827,828],{"class":650},"=",[640,830,802],{"class":688},[640,832,691],{"class":654},[640,834,727],{"class":650},[640,836,837],{"class":730}," jobId",[640,839,734],{"class":650},[640,841,664],{"class":650},[640,843,844],{"class":667},"sync-001",[640,846,694],{"class":650},[640,848,702],{"class":650},[640,850,851],{"class":730}," queue",[640,853,734],{"class":650},[640,855,664],{"class":650},[640,857,858],{"class":667},"emails",[640,860,694],{"class":650},[640,862,658],{"class":650},[640,864,712],{"class":654},[640,866,867,869,871,874,876,878,881,883,885,888,890,893,895,898,900,902,904,906],{"class":642,"line":715},[640,868,624],{"class":654},[640,870,573],{"class":650},[640,872,873],{"class":688},"set",[640,875,691],{"class":654},[640,877,727],{"class":650},[640,879,880],{"class":730}," batch",[640,882,734],{"class":650},[640,884,651],{"class":650},[640,886,887],{"class":730}," size",[640,889,734],{"class":650},[640,891,892],{"class":765}," 50",[640,894,702],{"class":650},[640,896,897],{"class":730}," processed",[640,899,734],{"class":650},[640,901,892],{"class":765},[640,903,658],{"class":650},[640,905,658],{"class":650},[640,907,712],{"class":654},[640,909,911,913,915,918],{"class":642,"line":910},5,[640,912,624],{"class":654},[640,914,573],{"class":650},[640,916,917],{"class":688},"emit",[640,919,920],{"class":654},"()\n",[630,922,925],{"className":632,"code":923,"filename":924,"language":635,"meta":636,"style":636},"import { createRequestLogger } from 'evlog'\n\nconst log = createRequestLogger({ method: 'POST', path: '\u002Fapi\u002Fcheckout' })\nlog.set({ user: { id: 1, plan: 'pro' } })\nlog.emit()\n","src\u002Fworker.ts",[587,926,927,946,950,994,1041],{"__ignoreMap":636},[640,928,929,931,933,936,938,940,942,944],{"class":642,"line":643},[640,930,647],{"class":646},[640,932,651],{"class":650},[640,934,935],{"class":654}," createRequestLogger",[640,937,658],{"class":650},[640,939,661],{"class":646},[640,941,664],{"class":650},[640,943,668],{"class":667},[640,945,671],{"class":650},[640,947,948],{"class":642,"line":674},[640,949,678],{"emptyLinePlaceholder":677},[640,951,952,954,956,958,960,962,964,967,969,971,974,976,978,981,983,985,988,990,992],{"class":642,"line":681},[640,953,822],{"class":821},[640,955,825],{"class":654},[640,957,828],{"class":650},[640,959,935],{"class":688},[640,961,691],{"class":654},[640,963,727],{"class":650},[640,965,966],{"class":730}," method",[640,968,734],{"class":650},[640,970,664],{"class":650},[640,972,973],{"class":667},"POST",[640,975,694],{"class":650},[640,977,702],{"class":650},[640,979,980],{"class":730}," path",[640,982,734],{"class":650},[640,984,664],{"class":650},[640,986,987],{"class":667},"\u002Fapi\u002Fcheckout",[640,989,694],{"class":650},[640,991,658],{"class":650},[640,993,712],{"class":654},[640,995,996,998,1000,1002,1004,1006,1009,1011,1013,1016,1018,1021,1023,1026,1028,1030,1033,1035,1037,1039],{"class":642,"line":715},[640,997,624],{"class":654},[640,999,573],{"class":650},[640,1001,873],{"class":688},[640,1003,691],{"class":654},[640,1005,727],{"class":650},[640,1007,1008],{"class":730}," user",[640,1010,734],{"class":650},[640,1012,651],{"class":650},[640,1014,1015],{"class":730}," id",[640,1017,734],{"class":650},[640,1019,1020],{"class":765}," 1",[640,1022,702],{"class":650},[640,1024,1025],{"class":730}," plan",[640,1027,734],{"class":650},[640,1029,664],{"class":650},[640,1031,1032],{"class":667},"pro",[640,1034,694],{"class":650},[640,1036,658],{"class":650},[640,1038,658],{"class":650},[640,1040,712],{"class":654},[640,1042,1043,1045,1047,1049],{"class":642,"line":910},[640,1044,624],{"class":654},[640,1046,573],{"class":650},[640,1048,917],{"class":688},[640,1050,920],{"class":654},[554,1052,1053,1055,1056,1058,1059,594,1062,1065,1066,573],{},[587,1054,781],{}," is a thin wrapper around ",[587,1057,777],{}," that pre-populates ",[587,1060,1061],{},"method",[587,1063,1064],{},"path",", and ",[587,1067,1068],{},"requestId",[618,1070,1072],{"id":1071},"request-logging-framework-middleware","Request Logging (framework middleware)",[554,1074,1075,1076,1079],{},"Framework integrations create a wide event logger automatically on each request. ",[587,1077,1078],{},"useLogger(event)"," retrieves the logger that's already attached to the request context:",[630,1081,1084],{"className":632,"code":1082,"filename":1083,"language":635,"meta":636,"style":636},"import { useLogger } from 'evlog'\n\nexport default defineEventHandler(async (event) => {\n  const log = useLogger(event)\n  log.set({ user: { id: 1, plan: 'pro' } })\n  return { success: true }\n  \u002F\u002F auto-emitted on response end\n})\n","server\u002Fapi\u002Fcheckout.post.ts",[587,1085,1086,1105,1109,1140,1158,1201,1221,1228],{"__ignoreMap":636},[640,1087,1088,1090,1092,1095,1097,1099,1101,1103],{"class":642,"line":643},[640,1089,647],{"class":646},[640,1091,651],{"class":650},[640,1093,1094],{"class":654}," useLogger",[640,1096,658],{"class":650},[640,1098,661],{"class":646},[640,1100,664],{"class":650},[640,1102,668],{"class":667},[640,1104,671],{"class":650},[640,1106,1107],{"class":642,"line":674},[640,1108,678],{"emptyLinePlaceholder":677},[640,1110,1111,1114,1117,1120,1122,1125,1128,1132,1134,1137],{"class":642,"line":681},[640,1112,1113],{"class":646},"export",[640,1115,1116],{"class":646}," default",[640,1118,1119],{"class":688}," defineEventHandler",[640,1121,691],{"class":654},[640,1123,1124],{"class":821},"async",[640,1126,1127],{"class":650}," (",[640,1129,1131],{"class":1130},"sHdIc","event",[640,1133,625],{"class":650},[640,1135,1136],{"class":821}," =>",[640,1138,1139],{"class":650}," {\n",[640,1141,1142,1145,1147,1150,1152,1154,1156],{"class":642,"line":715},[640,1143,1144],{"class":821},"  const",[640,1146,655],{"class":654},[640,1148,1149],{"class":650}," =",[640,1151,1094],{"class":688},[640,1153,691],{"class":730},[640,1155,1131],{"class":654},[640,1157,712],{"class":730},[640,1159,1160,1163,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199],{"class":642,"line":910},[640,1161,1162],{"class":654},"  log",[640,1164,573],{"class":650},[640,1166,873],{"class":688},[640,1168,691],{"class":730},[640,1170,727],{"class":650},[640,1172,1008],{"class":730},[640,1174,734],{"class":650},[640,1176,651],{"class":650},[640,1178,1015],{"class":730},[640,1180,734],{"class":650},[640,1182,1020],{"class":765},[640,1184,702],{"class":650},[640,1186,1025],{"class":730},[640,1188,734],{"class":650},[640,1190,664],{"class":650},[640,1192,1032],{"class":667},[640,1194,694],{"class":650},[640,1196,658],{"class":650},[640,1198,658],{"class":650},[640,1200,712],{"class":730},[640,1202,1204,1207,1209,1212,1214,1218],{"class":642,"line":1203},6,[640,1205,1206],{"class":646},"  return",[640,1208,651],{"class":650},[640,1210,1211],{"class":730}," success",[640,1213,734],{"class":650},[640,1215,1217],{"class":1216},"sfNiH"," true",[640,1219,1220],{"class":650}," }\n",[640,1222,1224],{"class":642,"line":1223},7,[640,1225,1227],{"class":1226},"sHwdD","  \u002F\u002F auto-emitted on response end\n",[640,1229,1231,1234],{"class":642,"line":1230},8,[640,1232,1233],{"class":650},"}",[640,1235,712],{"class":654},[558,1237,1238,1240,1241,594,1244,594,1247,1250,1251,1253],{"color":560,"icon":13},[587,1239,1078],{}," doesn't create a logger, it retrieves the one the framework middleware already attached to the event. Each framework has its own way to access it (",[587,1242,1243],{},"useLogger",[587,1245,1246],{},"req.log",[587,1248,1249],{},"c.get('log')",", etc.). In Nuxt, ",[587,1252,1243],{}," is auto-imported.",[575,1255,1257],{"id":1256},"when-to-use-what","When to Use What",[1259,1260,1261,1283],"table",{},[1262,1263,1264],"thead",{},[1265,1266,1267,1270,1274,1280],"tr",{},[1268,1269],"th",{},[1268,1271,1272],{},[587,1273,624],{},[1268,1275,1276,778,1278],{},[587,1277,777],{},[587,1279,781],{},[1268,1281,1282],{},"Framework middleware",[1284,1285,1286,1304,1324,1343,1358],"tbody",{},[1265,1287,1288,1295,1298,1301],{},[1289,1290,1291],"td",{},[1292,1293,1294],"strong",{},"Use case",[1289,1296,1297],{},"Quick one-off events",[1289,1299,1300],{},"Scripts, jobs, workers, queues, HTTP without a framework",[1289,1302,1303],{},"API routes with a framework integration",[1265,1305,1306,1311,1314,1320],{},[1289,1307,1308],{},[1292,1309,1310],{},"Context",[1289,1312,1313],{},"Single call",[1289,1315,1316,1317],{},"Accumulate with ",[587,1318,1319],{},"set()",[1289,1321,1316,1322],{},[587,1323,1319],{},[1265,1325,1326,1331,1334,1340],{},[1289,1327,1328],{},[1292,1329,1330],{},"Emit",[1289,1332,1333],{},"Immediate",[1289,1335,1336,1337],{},"Manual ",[587,1338,1339],{},"emit()",[1289,1341,1342],{},"Automatic on response end",[1265,1344,1345,1349,1352,1355],{},[1289,1346,1347],{},[1292,1348,165],{},[1289,1350,1351],{},"None",[1289,1353,1354],{},"You manage it",[1289,1356,1357],{},"Framework manages it",[1265,1359,1360,1365,1368,1370],{},[1289,1361,1362],{},[1292,1363,1364],{},"Output",[1289,1366,1367],{},"Console + drain",[1289,1369,1367],{},[1289,1371,1372],{},"Console + drain + enrich",[618,1374,1376],{"id":1375},"by-context","By context",[1259,1378,1379,1391],{},[1262,1380,1381],{},[1265,1382,1383,1385,1388],{},[1268,1384,1310],{},[1268,1386,1387],{},"Best fit",[1268,1389,1390],{},"Why",[1284,1392,1393,1411,1426,1447,1468,1486,1510,1528,1544,1564,1579],{},[1265,1394,1395,1400,1408],{},[1289,1396,1397],{},[1292,1398,1399],{},"HTTP route in Nuxt \u002F Next \u002F Hono \u002F Express \u002F …",[1289,1401,1402,1404,1405],{},[587,1403,1078],{}," via ",[567,1406,1407],{"href":207},"framework integration",[1289,1409,1410],{},"One wide event per request, auto-emitted on response end",[1265,1412,1413,1418,1423],{},[1289,1414,1415],{},[1292,1416,1417],{},"HTTP handler without a framework",[1289,1419,1420],{},[587,1421,1422],{},"createRequestLogger({ method, path })",[1289,1424,1425],{},"Same shape as framework middleware, manual emit",[1265,1427,1428,1433,1444],{},[1289,1429,1430],{},[1292,1431,1432],{},"CLI tool \u002F one-shot script",[1289,1434,1435,1438,1439,1441,1442],{},[587,1436,1437],{},"log.*"," for steps + ",[587,1440,777],{}," for the run summary — see ",[567,1443,271],{"href":272},[1289,1445,1446],{},"Pretty in dev, structured in CI, one summary event for the whole run",[1265,1448,1449,1454,1465],{},[1289,1450,1451],{},[1292,1452,1453],{},"Published library",[1289,1455,1456,1458,1459,1462,1463],{},[587,1457,777],{}," only — never ",[587,1460,1461],{},"initLogger"," — see ",[567,1464,271],{"href":272},[1289,1466,1467],{},"Don't pollute the host app's global config or force a drain on consumers",[1265,1469,1470,1475,1483],{},[1289,1471,1472],{},[1292,1473,1474],{},"Background job \u002F queue worker \u002F cron",[1289,1476,1477,1480,1481],{},[587,1478,1479],{},"createLogger({ jobId, queue })"," per invocation — see ",[567,1482,271],{"href":272},[1289,1484,1485],{},"One wide event per job run, perfect for retry analysis",[1265,1487,1488,1493,1503],{},[1289,1489,1490],{},[1292,1491,1492],{},"Cloudflare Worker \u002F edge function",[1289,1494,1495,1498,1499,1462,1501],{},[587,1496,1497],{},"createWorkersLogger(req)"," or ",[587,1500,781],{},[567,1502,266],{"href":267},[1289,1504,1505,1506,1509],{},"Per-request event, no ",[587,1507,1508],{},"process"," globals required",[1265,1511,1512,1516,1525],{},[1289,1513,1514],{},[1292,1515,280],{},[1289,1517,1518,1520,1521,1480,1523],{},[587,1519,1461],{}," once + ",[587,1522,777],{},[567,1524,280],{"href":281},[1289,1526,1527],{},"Cold-start init, per-event scope, drain flush in the handler",[1265,1529,1530,1535,1541],{},[1289,1531,1532],{},[1292,1533,1534],{},"Batch \u002F pipeline step",[1289,1536,1537,1540],{},[587,1538,1539],{},"createLogger({ step })"," per stage",[1289,1542,1543],{},"One event per stage with inputs and outputs side by side",[1265,1545,1546,1551,1561],{},[1289,1547,1548],{},[1292,1549,1550],{},"AI agent \u002F LLM call",[1289,1552,1553,1555,1556],{},[587,1554,777],{}," + ",[567,1557,1558],{"href":77},[587,1559,1560],{},"createAILogger",[1289,1562,1563],{},"Token usage, tool calls, streaming metrics on the same wide event",[1265,1565,1566,1571,1576],{},[1289,1567,1568],{},[1292,1569,1570],{},"Library function called inside a request",[1289,1572,1573,1575],{},[587,1574,1078],{}," from caller, or accept a logger as argument",[1289,1577,1578],{},"Inherit the parent's request context, contribute to the same wide event",[1265,1580,1581,1586,1591],{},[1289,1582,1583],{},[1292,1584,1585],{},"Shared workspace package",[1289,1587,1588,1589],{},"Treat it like a library — see ",[567,1590,271],{"href":272},[1289,1592,1593,1594,1596,1597,1599],{},"Host app owns ",[587,1595,1461],{}," \u002F drain; packages use ",[587,1598,777],{}," or accept a logger",[558,1601,1603,1604,570,1606,1608],{"color":560,"icon":1602},"i-lucide-lightbulb","None of these is an \"upgrade\" of another. Use ",[587,1605,624],{},[587,1607,777],{}," in the same file when it makes sense — they share the global drain, redaction, and types.",[575,1610,1612],{"id":1611},"shared-features","Shared Features",[554,1614,1615],{},"All three modes share the same foundation:",[1617,1618,1619,1630,1635,1657,1662],"ul",{},[1620,1621,1622,1625,1626,1629],"li",{},[1292,1623,1624],{},"Pretty output"," in development, ",[1292,1627,1628],{},"JSON"," in production (default, no configuration needed)",[1620,1631,1632,1634],{},[1292,1633,415],{}," to send events to Axiom, Sentry, PostHog, and more",[1620,1636,1637,1640,1641,594,1644,1065,1647,1650,1651,1656],{},[1292,1638,1639],{},"Structured errors"," with ",[587,1642,1643],{},"why",[587,1645,1646],{},"fix",[587,1648,1649],{},"link",", plus optional backend-only ",[1292,1652,1653],{},[587,1654,1655],{},"internal"," for logs",[1620,1658,1659,1661],{},[1292,1660,175],{}," to control log volume in production",[1620,1663,1664,1667],{},[1292,1665,1666],{},"Zero dependencies",", ~6 kB gzip",[575,1669,1671],{"id":1670},"next-steps","Next Steps",[1617,1673,1674,1682,1687,1692],{},[1620,1675,1676,1678,1679,1681],{},[567,1677,46],{"href":47},": The ",[587,1680,624],{}," API in detail",[1620,1683,1684,1686],{},[567,1685,51],{"href":52},": Accumulating context and emitting events",[1620,1688,1689,1691],{},[567,1690,56],{"href":57},": Errors with actionable context",[1620,1693,1694,1696],{},[567,1695,202],{"href":207},": Auto-managed request logging per framework",[1698,1699,1700],"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 .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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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}",{"title":636,"searchDepth":674,"depth":674,"links":1702},[1703,1704,1711,1714,1715],{"id":577,"depth":674,"text":578},{"id":615,"depth":674,"text":616,"children":1705},[1706,1708,1710],{"id":620,"depth":681,"text":1707},"Simple Logging (log)",{"id":773,"depth":681,"text":1709},"Wide Events (createLogger \u002F createRequestLogger)",{"id":1071,"depth":681,"text":1072},{"id":1256,"depth":674,"text":1257,"children":1712},[1713],{"id":1375,"depth":681,"text":1376},{"id":1611,"depth":674,"text":1612},{"id":1670,"depth":674,"text":1671},"evlog gives you three ways to log. Simple one-liners, wide events that accumulate context, and auto-managed request logging. Choose the right one for your use case.","md",[1719,1721],{"label":46,"icon":49,"to":47,"color":564,"variant":1720},"subtle",{"label":51,"icon":54,"to":52,"color":564,"variant":1720},{},{"title":41,"icon":44},{"title":549,"description":1716},"oN0tSYK7JDpdBRuwSFG4IWdX6tcKVs6aRhKxJc3YMhc",[1727,1729],{"title":30,"path":31,"stem":32,"description":1728,"icon":33,"children":-1},"Side-by-side comparison of evlog with pino, winston, and consola. Feature parity matrix, honest gaps, and migration snippets so you can switch with no surprises.",{"title":46,"path":47,"stem":48,"description":1730,"icon":49,"children":-1},"evlog's general-purpose logger. A drop-in for console.log, pino, or consola, with the same level filtering, drain pipeline, redaction, and pretty\u002FJSON output as wide events.",1778338237930]