[{"data":1,"prerenderedAt":3698},["ShallowReactive",2],{"navigation_docs":3,"-reference-vs-other-loggers":447,"-reference-vs-other-loggers-surround":3693},[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":3682,"extension":3683,"links":3684,"meta":3689,"navigation":3690,"path":440,"seo":3691,"stem":441,"__hash__":3692},"docs\u002F6.reference\u002F5.vs-other-loggers.md","evlog vs pino, winston, consola",{"type":451,"value":452,"toc":3661},"minimark",[453,470,475,527,531,538,547,552,830,834,1117,1121,1310,1330,1346,1350,1353,1360,1370,1502,1513,1523,1544,1565,1569,1600,1606,1617,1621,1637,1641,1652,3135,3138,3546,3549,3596,3600,3603,3626,3630,3657],[454,455,456,457,461,462,465,466,469],"p",{},"evlog is a fully-featured general-purpose logger first, with wide events as a native extension of the same API. This page compares it head-to-head with the three loggers TypeScript developers usually consider — ",[458,459,460],"strong",{},"pino",", ",[458,463,464],{},"winston",", and ",[458,467,468],{},"consola"," — so you know exactly what you gain, what stays the same, and what (if anything) is missing today.",[471,472,474],"h2",{"id":473},"tldr","TL;DR",[476,477,478,496,507,513],"ul",{},[479,480,481,484,485,488,489,488,492,495],"li",{},[458,482,483],{},"Pick evlog over pino"," if you want the same throughput class with structured errors, redaction, and wide events built in — and you don't want to assemble ",[486,487,460],"code",{}," + ",[486,490,491],{},"pino-pretty",[486,493,494],{},"pino-http"," + custom transports yourself.",[479,497,498,501,502,506],{},[458,499,500],{},"Pick evlog over winston"," in any new TypeScript project. winston is older, slower (see ",[503,504,505],"a",{"href":427},"benchmarks","), and ships none of the modern features (typed events, redaction, structured errors, AI SDK integration).",[479,508,509,512],{},[458,510,511],{},"Pick evlog over consola"," as soon as your code leaves a CLI. consola is great for terminal pretty-printing but doesn't ship a drain pipeline, sampling, or wide events.",[479,514,515,518,519,522,523,526],{},[458,516,517],{},"Stay on pino"," only if you're on an extremely hot path that emits hundreds of thousands of fire-and-forget log lines per second to ",[486,520,521],{},"\u002Fdev\u002Fnull"," and you have a custom transport you don't want to port. evlog still wins the wide event lifecycle by 7.7x, but pino can edge it on raw ",[486,524,525],{},"info('hello world')"," throughput.",[471,528,530],{"id":529},"feature-comparison","Feature comparison",[454,532,533,534,537],{},"Three tables instead of one wall. The ",[458,535,536],{},"Winner"," column on the right tells you who wins each row at a glance; cells use semantic words (\"Built-in\", \"Manual\", \"via X\") instead of generic \"Yes\" so you can read the level of effort without reading the spec.",[539,540,542,543,546],"callout",{"color":541,"icon":13},"info","Hover (or tap on mobile) the ",[458,544,545],{},"info icon"," next to any feature name for a one-line explanation of what the row actually compares.",[548,549,551],"h3",{"id":550},"core-api","Core API",[553,554,555,578],"table",{},[556,557,558],"thead",{},[559,560,561,565,569,571,573,575],"tr",{},[562,563,564],"th",{},"Feature",[562,566,568],{"align":567},"center","evlog",[562,570,460],{"align":567},[562,572,468],{"align":567},[562,574,464],{"align":567},[562,576,536],{"align":577},"left",[579,580,581,603,625,647,665,689,709,729,749,769,790,810],"tbody",{},[559,582,583,591,594,596,598,600],{},[584,585,586],"td",{},[587,588,590],"feature-label",{"tip":589},"The four classic severities (debug \u002F info \u002F warn \u002F error) every logger ships, used for severity-based filtering.","Standard levels",[584,592,593],{"align":567},"Yes",[584,595,593],{"align":567},[584,597,593],{"align":567},[584,599,593],{"align":567},[584,601,602],{"align":577},"All",[559,604,605,611,614,616,618,620],{},[584,606,607],{},[587,608,610],{"tip":609},"Define extra severities like trace, notice, or fatal beyond the standard four — handy when migrating from a pipeline that depends on them.","Custom levels",[584,612,613],{"align":567},"No",[584,615,593],{"align":567},[584,617,593],{"align":567},[584,619,593],{"align":567},[584,621,622],{"align":577},[458,623,624],{},"pino, consola, winston",[559,626,627,633,635,637,640,642],{},[584,628,629],{},[587,630,632],{"tip":631},"Pass typed key\u002Fvalue objects on every log call instead of stuffing data into the message string. Required for queryable logs.","Structured fields per call",[584,634,593],{"align":567},[584,636,593],{"align":567},[584,638,639],{"align":567},"Partial",[584,641,593],{"align":567},[584,643,644],{"align":577},[458,645,646],{},"evlog, pino, winston",[559,648,649,655,657,659,661,663],{},[584,650,651],{},[587,652,654],{"tip":653},"Create a logger that inherits parent bindings (e.g. requestId, component) and auto-attaches them to every subsequent call.","Child loggers \u002F persistent bindings",[584,656,593],{"align":567},[584,658,593],{"align":567},[584,660,593],{"align":567},[584,662,593],{"align":567},[584,664,602],{"align":577},[559,666,667,673,676,679,681,684],{},[584,668,669],{},[587,670,672],{"tip":671},"Human-readable colored output during development, machine-parseable JSON in production. Switched automatically based on NODE_ENV.","Pretty in dev \u002F JSON in prod (auto)",[584,674,675],{"align":567},"Built-in",[584,677,678],{"align":567},"via pino-pretty",[584,680,675],{"align":567},[584,682,683],{"align":567},"Manual",[584,685,686],{"align":577},[458,687,688],{},"evlog, consola",[559,690,691,697,699,701,703,705],{},[584,692,693],{},[587,694,696],{"tip":695},"A separate runtime for the browser that strips Node.js APIs (process, fs) and ships a small bundle for client-side logging.","Browser-safe build",[584,698,593],{"align":567},[584,700,613],{"align":567},[584,702,593],{"align":567},[584,704,613],{"align":567},[584,706,707],{"align":577},[458,708,688],{},[559,710,711,717,719,721,723,725],{},[584,712,713],{},[587,714,716],{"tip":715},"Spin off a child wide event from the parent — used for batched operations or per-item processing inside one request, without losing correlation.","Sub-operation logger (log.fork)",[584,718,593],{"align":567},[584,720,613],{"align":567},[584,722,613],{"align":567},[584,724,613],{"align":567},[584,726,727],{"align":577},[458,728,568],{},[559,730,731,737,739,741,743,745],{},[584,732,733],{},[587,734,736],{"tip":735},"Every event carries a source field (server or client) automatically so you can split client-side errors from server-side ones in your dashboard.","Source distinction (server \u002F client)",[584,738,593],{"align":567},[584,740,613],{"align":567},[584,742,613],{"align":567},[584,744,613],{"align":567},[584,746,747],{"align":577},[458,748,568],{},[559,750,751,757,759,761,763,765],{},[584,752,753],{},[587,754,756],{"tip":755},"Toggle log levels on the fly (e.g. logger.level = 'debug') without a restart — useful for --verbose flags or hot-reload.","Runtime level mutation",[584,758,639],{"align":567},[584,760,593],{"align":567},[584,762,593],{"align":567},[584,764,593],{"align":567},[584,766,767],{"align":577},[458,768,624],{},[559,770,771,777,779,781,783,785],{},[584,772,773],{},[587,774,776],{"tip":775},"Pluggable transformers that turn typed objects (errors, requests, responses) into JSON. evlog handles common cases via redaction + createError instead of plugins.","Plugin \u002F serializer system",[584,778,613],{"align":567},[584,780,593],{"align":567},[584,782,613],{"align":567},[584,784,593],{"align":567},[584,786,787],{"align":577},[458,788,789],{},"pino, winston",[559,791,792,798,800,802,804,806],{},[584,793,794],{},[587,795,797],{"tip":796},"Accumulate context throughout a request and emit one typed event at the end — the wide-event observability pattern from Honeycomb \u002F Charity Majors.","Wide events (one per operation)",[584,799,593],{"align":567},[584,801,613],{"align":567},[584,803,613],{"align":567},[584,805,613],{"align":567},[584,807,808],{"align":577},[458,809,568],{},[559,811,812,818,820,822,824,826],{},[584,813,814],{},[587,815,817],{"tip":816},"Errors carry why (root cause), fix (actionable next step), and link (docs URL) fields that travel from server to client.","Structured errors (why \u002F fix \u002F link)",[584,819,593],{"align":567},[584,821,613],{"align":567},[584,823,613],{"align":567},[584,825,613],{"align":567},[584,827,828],{"align":577},[458,829,568],{},[548,831,833],{"id":832},"production-features","Production features",[553,835,836,852],{},[556,837,838],{},[559,839,840,842,844,846,848,850],{},[562,841,564],{},[562,843,568],{"align":567},[562,845,460],{"align":567},[562,847,468],{"align":567},[562,849,464],{"align":567},[562,851,536],{"align":577},[579,853,854,874,894,916,937,957,977,997,1017,1037,1057,1077,1097],{},[559,855,856,862,864,866,868,870],{},[584,857,858],{},[587,859,861],{"tip":860},"Automatically masks fields like password, token, email, creditCard in production output. Configurable via a redact list.","Built-in PII redaction (auto in prod)",[584,863,675],{"align":567},[584,865,683],{"align":567},[584,867,613],{"align":567},[584,869,613],{"align":567},[584,871,872],{"align":577},[458,873,568],{},[559,875,876,882,884,886,888,890],{},[584,877,878],{},[587,879,881],{"tip":880},"Drop a percentage of low-importance events at emit time (head) or based on the final outcome like errors \u002F slow requests (tail).","Head + tail sampling",[584,883,675],{"align":567},[584,885,683],{"align":567},[584,887,613],{"align":567},[584,889,613],{"align":567},[584,891,892],{"align":577},[458,893,568],{},[559,895,896,902,905,908,910,912],{},[584,897,898],{},[587,899,901],{"tip":900},"Whether log shipping runs off the hot path. evlog uses fire-and-forget drains (with waitUntil on edge); pino \u002F winston use a worker thread for hard isolation.","Async I\u002FO for shipping logs",[584,903,904],{"align":567},"via drains",[584,906,907],{"align":567},"Worker thread",[584,909,613],{"align":567},[584,911,907],{"align":567},[584,913,914],{"align":577},[458,915,789],{},[559,917,918,924,926,929,931,933],{},[584,919,920],{},[587,921,923],{"tip":922},"Built-in batching, exponential retry on failure, and fan-out to multiple destinations — without writing transport plumbing yourself.","Drain pipeline (batch \u002F retry \u002F fan-out)",[584,925,675],{"align":567},[584,927,928],{"align":567},"via transports",[584,930,613],{"align":567},[584,932,928],{"align":567},[584,934,935],{"align":577},[458,936,568],{},[559,938,939,945,947,949,951,953],{},[584,940,941],{},[587,942,944],{"tip":943},"Send the same event to multiple destinations (e.g. Axiom + Sentry + your DB) in parallel without duplicating emit calls.","Multi-destination fan-out",[584,946,593],{"align":567},[584,948,593],{"align":567},[584,950,613],{"align":567},[584,952,593],{"align":567},[584,954,955],{"align":577},[458,956,646],{},[559,958,959,965,967,969,971,973],{},[584,960,961],{},[587,962,964],{"tip":963},"Append-only log of security-sensitive events (auth, billing, admin actions) with a hash chain so tampering can be detected after the fact.","Audit trail (tamper-evident chain)",[584,966,675],{"align":567},[584,968,613],{"align":567},[584,970,613],{"align":567},[584,972,613],{"align":567},[584,974,975],{"align":577},[458,976,568],{},[559,978,979,985,987,989,991,993],{},[584,980,981],{},[587,982,984],{"tip":983},"Auto-attach derived context like parsed user-agent, GeoIP, request size, and W3C traceparent without writing middleware.","Built-in enrichers (UA \u002F Geo \u002F Trace \u002F Size)",[584,986,675],{"align":567},[584,988,613],{"align":567},[584,990,613],{"align":567},[584,992,613],{"align":567},[584,994,995],{"align":577},[458,996,568],{},[559,998,999,1005,1007,1009,1011,1013],{},[584,1000,1001],{},[587,1002,1004],{"tip":1003},"Strips authorization, cookie, x-api-key, set-cookie etc. before they reach an adapter — no risk of leaking auth tokens to your observability vendor.","Sensitive header filtering",[584,1006,675],{"align":567},[584,1008,683],{"align":567},[584,1010,613],{"align":567},[584,1012,683],{"align":567},[584,1014,1015],{"align":577},[458,1016,568],{},[559,1018,1019,1025,1027,1029,1031,1033],{},[584,1020,1021],{},[587,1022,1024],{"tip":1023},"Reads incoming W3C traceparent \u002F tracestate headers and propagates them through the wide event for distributed tracing correlation.","W3C trace context (traceparent)",[584,1026,675],{"align":567},[584,1028,613],{"align":567},[584,1030,613],{"align":567},[584,1032,613],{"align":567},[584,1034,1035],{"align":577},[458,1036,568],{},[559,1038,1039,1045,1047,1049,1051,1053],{},[584,1040,1041],{},[587,1042,1044],{"tip":1043},"Drop-in middleware for Vercel AI SDK that auto-tracks token usage, tool calls, streaming metrics, and cost per LLM call.","AI SDK integration (tokens \u002F tools \u002F streaming)",[584,1046,675],{"align":567},[584,1048,613],{"align":567},[584,1050,613],{"align":567},[584,1052,613],{"align":567},[584,1054,1055],{"align":577},[458,1056,568],{},[559,1058,1059,1065,1067,1069,1071,1073],{},[584,1060,1061],{},[587,1062,1064],{"tip":1063},"One-line plugin for Better Auth that emits wide events for sign-in, sign-up, password reset, session refresh, and revocation.","Better Auth integration",[584,1066,675],{"align":567},[584,1068,613],{"align":567},[584,1070,613],{"align":567},[584,1072,613],{"align":567},[584,1074,1075],{"align":577},[458,1076,568],{},[559,1078,1079,1085,1087,1089,1091,1093],{},[584,1080,1081],{},[587,1082,1084],{"tip":1083},"Store logs in your own NuxtHub-hosted database with automatic retention — no external observability vendor required.","Self-hosted storage (NuxtHub adapter)",[584,1086,675],{"align":567},[584,1088,613],{"align":567},[584,1090,613],{"align":567},[584,1092,613],{"align":567},[584,1094,1095],{"align":577},[458,1096,568],{},[559,1098,1099,1105,1107,1109,1111,1113],{},[584,1100,1101],{},[587,1102,1104],{"tip":1103},"First-class support for Cloudflare Workers and Vercel Edge with waitUntil() integration so drains finish before the runtime terminates.","Edge \u002F Workers runtime",[584,1106,675],{"align":567},[584,1108,639],{"align":567},[584,1110,613],{"align":567},[584,1112,613],{"align":567},[584,1114,1115],{"align":577},[458,1116,568],{},[548,1118,1120],{"id":1119},"footprint-and-ecosystem","Footprint and ecosystem",[553,1122,1123,1139],{},[556,1124,1125],{},[559,1126,1127,1129,1131,1133,1135,1137],{},[562,1128,564],{},[562,1130,568],{"align":567},[562,1132,460],{"align":567},[562,1134,468],{"align":567},[562,1136,464],{"align":567},[562,1138,536],{"align":577},[579,1140,1141,1162,1185,1209,1230,1250,1270,1290],{},[559,1142,1143,1149,1151,1154,1156,1158],{},[584,1144,1145],{},[587,1146,1148],{"tip":1147},"evlog itself ships no production deps. Adapters lazy-load their vendor SDKs only when imported.","Zero transitive dependencies",[584,1150,593],{"align":567},[584,1152,1153],{"align":567},"1 dep",[584,1155,613],{"align":567},[584,1157,613],{"align":567},[584,1159,1160],{"align":577},[458,1161,568],{},[559,1163,1164,1170,1173,1175,1178,1181],{},[584,1165,1166],{},[587,1167,1169],{"tip":1168},"Approximate gzipped size of the core logger when imported into a server bundle. Smaller is better for cold-start time on serverless.","Bundle size (gzip)",[584,1171,1172],{"align":567},"~6 kB",[584,1174,1172],{"align":567},[584,1176,1177],{"align":567},"~12 kB",[584,1179,1180],{"align":567},"~50 kB",[584,1182,1183],{"align":577},[458,1184,568],{},[559,1186,1187,1193,1196,1199,1202,1205],{},[584,1188,1189],{},[587,1190,1192],{"tip":1191},"How many full request lifecycles (start → set\u002Fset\u002Fset → emit) the logger can complete per second on a single core. See packages\u002Fevlog\u002Fbench\u002F for the methodology.","Wide event lifecycle throughput",[584,1194,1195],{"align":567},"1.58M ops\u002Fs",[584,1197,1198],{"align":567},"206K ops\u002Fs",[584,1200,1201],{"align":567},"n\u002Fa",[584,1203,1204],{"align":567},"112K ops\u002Fs",[584,1206,1207],{"align":577},[458,1208,568],{},[559,1210,1211,1217,1219,1222,1224,1226],{},[584,1212,1213],{},[587,1214,1216],{"tip":1215},"One-line installs for Nuxt, Nitro, Next.js, SvelteKit, TanStack Start, React Router, NestJS, Express, Hono, Fastify, Elysia, Cloudflare Workers, and Vercel Edge.","Framework auto-init (13+ integrations)",[584,1218,593],{"align":567},[584,1220,1221],{"align":567},"HTTP only",[584,1223,613],{"align":567},[584,1225,613],{"align":567},[584,1227,1228],{"align":577},[458,1229,568],{},[559,1231,1232,1238,1240,1242,1244,1246],{},[584,1233,1234],{},[587,1235,1237],{"tip":1236},"Browser logger that batches client-side events and ships them to your server over HTTP, where they merge into the wide event lifecycle.","Client → server log transport",[584,1239,593],{"align":567},[584,1241,613],{"align":567},[584,1243,613],{"align":567},[584,1245,613],{"align":567},[584,1247,1248],{"align":577},[458,1249,568],{},[559,1251,1252,1258,1260,1262,1264,1266],{},[584,1253,1254],{},[587,1255,1257],{"tip":1256},"Build-time console.log → log.info rewrite so you can adopt evlog without manually editing every file.","Vite plugin (auto-replace console.log)",[584,1259,593],{"align":567},[584,1261,613],{"align":567},[584,1263,613],{"align":567},[584,1265,613],{"align":567},[584,1267,1268],{"align":577},[458,1269,568],{},[559,1271,1272,1278,1280,1282,1284,1286],{},[584,1273,1274],{},[587,1275,1277],{"tip":1276},"Skip logging entirely for paths like \u002Fhealth or \u002Fmetrics using glob patterns — keeps your noise floor low without adding middleware.","Path filtering (include \u002F exclude globs)",[584,1279,675],{"align":567},[584,1281,683],{"align":567},[584,1283,613],{"align":567},[584,1285,683],{"align":567},[584,1287,1288],{"align":577},[458,1289,568],{},[559,1291,1292,1298,1300,1302,1304,1306],{},[584,1293,1294],{},[587,1295,1297],{"tip":1296},"Bundled .skill.md files so AI coding agents write evlog code in the right style without you teaching them every time.","AI agent skills (Cursor \u002F Claude \u002F ChatGPT)",[584,1299,593],{"align":567},[584,1301,613],{"align":567},[584,1303,613],{"align":567},[584,1305,613],{"align":567},[584,1307,1308],{"align":577},[458,1309,568],{},[454,1311,1312,1313,1316,1317,1320,1321,1324,1325,1329],{},"Counted up across the three tables (33 rows total): evlog wins ",[458,1314,1315],{},"23"," rows outright, ties on ",[458,1318,1319],{},"6",", and loses ",[458,1322,1323],{},"4"," — custom levels, runtime level mutation, plugin\u002Fserializer system, and async-I\u002FO on a worker thread. All four losses are documented in ",[503,1326,1328],{"href":1327},"#honest-gaps-today","Honest gaps"," below so you know what you're trading off.",[454,1331,1332,1333,1341,1342,1345],{},"See ",[503,1334,1338],{"href":1335,"rel":1336},"https:\u002F\u002Fgithub.com\u002Fhugorcd\u002Fevlog\u002Ftree\u002Fmain\u002Fpackages\u002Fevlog\u002Fbench",[1337],"nofollow",[486,1339,1340],{},"packages\u002Fevlog\u002Fbench\u002F"," for the open-source benchmarks behind the throughput numbers, and the ",[503,1343,1344],{"href":427},"Performance page"," for the full breakdown.",[471,1347,1349],{"id":1348},"honest-gaps-today","Honest gaps (today)",[454,1351,1352],{},"We'd rather you read this list than discover the limits the hard way. Each item is a potential future Linear ticket — none of them are currently blocking for the workloads we've shipped evlog on.",[548,1354,1356,1357],{"id":1355},"no-persistent-bindings-shorthand-on-log","No persistent-bindings shorthand on ",[486,1358,1359],{},"log.*",[454,1361,1362,1363,1366,1367,1369],{},"pino has ",[486,1364,1365],{},"log.child({ component: 'auth' })"," that returns a new logger inheriting both the parent's bindings and the child's. evlog's simple ",[486,1368,1359],{}," API is global; to attach persistent context you create a wide-event logger:",[1371,1372,1377],"pre",{"className":1373,"code":1374,"language":1375,"meta":1376,"style":1376},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createLogger } from 'evlog'\n\nconst log = createLogger({ component: 'auth' })\nlog.set({ userId: 42 })\nlog.emit()\n","typescript","",[486,1378,1379,1411,1418,1460,1489],{"__ignoreMap":1376},[1380,1381,1384,1388,1392,1396,1399,1402,1405,1408],"span",{"class":1382,"line":1383},"line",1,[1380,1385,1387],{"class":1386},"s7zQu","import",[1380,1389,1391],{"class":1390},"sMK4o"," {",[1380,1393,1395],{"class":1394},"sTEyZ"," createLogger",[1380,1397,1398],{"class":1390}," }",[1380,1400,1401],{"class":1386}," from",[1380,1403,1404],{"class":1390}," '",[1380,1406,568],{"class":1407},"sfazB",[1380,1409,1410],{"class":1390},"'\n",[1380,1412,1414],{"class":1382,"line":1413},2,[1380,1415,1417],{"emptyLinePlaceholder":1416},true,"\n",[1380,1419,1421,1425,1428,1431,1434,1437,1440,1444,1447,1449,1452,1455,1457],{"class":1382,"line":1420},3,[1380,1422,1424],{"class":1423},"spNyl","const",[1380,1426,1427],{"class":1394}," log ",[1380,1429,1430],{"class":1390},"=",[1380,1432,1395],{"class":1433},"s2Zo4",[1380,1435,1436],{"class":1394},"(",[1380,1438,1439],{"class":1390},"{",[1380,1441,1443],{"class":1442},"swJcz"," component",[1380,1445,1446],{"class":1390},":",[1380,1448,1404],{"class":1390},[1380,1450,1451],{"class":1407},"auth",[1380,1453,1454],{"class":1390},"'",[1380,1456,1398],{"class":1390},[1380,1458,1459],{"class":1394},")\n",[1380,1461,1463,1466,1469,1472,1474,1476,1479,1481,1485,1487],{"class":1382,"line":1462},4,[1380,1464,1465],{"class":1394},"log",[1380,1467,1468],{"class":1390},".",[1380,1470,1471],{"class":1433},"set",[1380,1473,1436],{"class":1394},[1380,1475,1439],{"class":1390},[1380,1477,1478],{"class":1442}," userId",[1380,1480,1446],{"class":1390},[1380,1482,1484],{"class":1483},"sbssI"," 42",[1380,1486,1398],{"class":1390},[1380,1488,1459],{"class":1394},[1380,1490,1492,1494,1496,1499],{"class":1382,"line":1491},5,[1380,1493,1465],{"class":1394},[1380,1495,1468],{"class":1390},[1380,1497,1498],{"class":1433},"emit",[1380,1500,1501],{"class":1394},"()\n",[454,1503,1504,1505,1508,1509,1512],{},"Or, in framework integrations, the request middleware does it for you. This works but it's not the same ergonomic shape as ",[486,1506,1507],{},"pino.child",". A ",[486,1510,1511],{},"log.child(bindings)"," shorthand is a likely next addition.",[548,1514,1516,1519,1520,1522],{"id":1515},"minlevel-is-set-once-at-startup-global-log",[486,1517,1518],{},"minLevel"," is set once at startup (global ",[486,1521,1359],{},")",[454,1524,1525,1526,1528,1529,1532,1533,1535,1536,1539,1540,1543],{},"You configure ",[486,1527,1518],{}," in ",[486,1530,1531],{},"initLogger({ minLevel: 'info' })"," and that's it for the process lifetime on the global ",[486,1534,1359],{}," API. pino lets you mutate ",[486,1537,1538],{},"logger.level = 'debug'"," at runtime (handy for ",[486,1541,1542],{},"--verbose"," flags or hot-reload).",[454,1545,1546,1547,461,1550,1553,1554,1557,1558,1561,1562,1564],{},"On ",[458,1548,1549],{},"request-scoped wide-event loggers",[486,1551,1552],{},"log.setLevel('error' | 'warn' | 'info' | 'debug')"," promotes the event level explicitly without touching the ",[486,1555,1556],{},"error"," context — useful when you control the error shape yourself. Client-side ",[486,1559,1560],{},"setMinLevel()"," works the same way for the browser ",[486,1563,1465],{}," API.",[548,1566,1568],{"id":1567},"no-custom-levels","No custom levels",[454,1570,1571,1572,1575,1576,1575,1578,1575,1581,1583,1584,461,1587,461,1590,1593,1594,1596,1597,1599],{},"evlog ships ",[486,1573,1574],{},"debug"," \u002F ",[486,1577,541],{},[486,1579,1580],{},"warn",[486,1582,1556],{}," and that's it. pino, consola, and winston all let you define ",[486,1585,1586],{},"trace",[486,1588,1589],{},"notice",[486,1591,1592],{},"fatal",", etc. We chose four levels on purpose (most teams never use more than four), but if your existing pipeline depends on ",[486,1595,1592],{}," or ",[486,1598,1586],{}," you'll need to map them onto the closest evlog level.",[548,1601,1603,1604],{"id":1602},"no-multi-stream-transport-array-on-log","No multi-stream \u002F transport array on ",[486,1605,1359],{},[454,1607,1608,1609,1612,1613,1616],{},"pino lets you pipe a single log to multiple destinations via ",[486,1610,1611],{},"pino.multistream",". evlog does the same via ",[503,1614,1615],{"href":413},"the drain pipeline"," (one drain that fans out to N adapters, with batching and retry shared across all of them) — but the mental model is different. If you've structured your existing code around \"stream A is debug to stdout, stream B is warn+ to a file, stream C is error to Sentry\", you'll rebuild that as drain-level routing instead.",[548,1618,1620],{"id":1619},"no-formatter-serializer-plugin-system","No formatter \u002F serializer plugin system",[454,1622,1362,1623,1626,1627,488,1630,1633,1634,1468],{},[486,1624,1625],{},"serializers"," for converting common types (errors, requests, responses) into JSON. evlog handles the common cases via the redaction layer and the built-in error serialization (",[486,1628,1629],{},"createError",[486,1631,1632],{},"parseError","); for anything custom (e.g. masking a particular field or transforming a payload), you write it inside a custom drain or before calling ",[486,1635,1636],{},"log.set",[471,1638,1640],{"id":1639},"migrating-from","Migrating from",[454,1642,1643,1644,1647,1648,1651],{},"Pick the tab that matches your current logger. Each tab shows the ",[458,1645,1646],{},"before"," code in that library's own API. Underneath the tabs is the single ",[458,1649,1650],{},"after"," snippet — the same evlog code regardless of where you came from.",[1653,1654,1655,2092,2557,2869],"code-group",{},[1371,1656,1658],{"className":1373,"code":1657,"filename":460,"language":1375,"meta":1376,"style":1376},"import pino from 'pino'\n\nconst log = pino({ name: 'checkout' })\nconst child = log.child({ flow: 'checkout' })\n\nchild.info({ event: 'checkout_started' })\n\ntry {\n  const cart = await getCart(userId)\n  child.info({ cart: { items: cart.items.length, total: cart.total } }, 'cart loaded')\n\n  const charge = await stripe.charge(cart.total)\n  child.info({ stripe: { chargeId: charge.id } }, 'charge ok')\n\n  if (!charge.success) {\n    throw new Error(`Payment failed: ${charge.decline_reason}`)\n  }\n} catch (err) {\n  child.error({ err }, 'checkout failed')\n  throw err\n}\n",[486,1659,1660,1676,1680,1711,1747,1751,1780,1785,1794,1819,1885,1890,1921,1965,1970,1995,2030,2036,2050,2077,2086],{"__ignoreMap":1376},[1380,1661,1662,1664,1667,1670,1672,1674],{"class":1382,"line":1383},[1380,1663,1387],{"class":1386},[1380,1665,1666],{"class":1394}," pino ",[1380,1668,1669],{"class":1386},"from",[1380,1671,1404],{"class":1390},[1380,1673,460],{"class":1407},[1380,1675,1410],{"class":1390},[1380,1677,1678],{"class":1382,"line":1413},[1380,1679,1417],{"emptyLinePlaceholder":1416},[1380,1681,1682,1684,1686,1688,1691,1693,1695,1698,1700,1702,1705,1707,1709],{"class":1382,"line":1420},[1380,1683,1424],{"class":1423},[1380,1685,1427],{"class":1394},[1380,1687,1430],{"class":1390},[1380,1689,1690],{"class":1433}," pino",[1380,1692,1436],{"class":1394},[1380,1694,1439],{"class":1390},[1380,1696,1697],{"class":1442}," name",[1380,1699,1446],{"class":1390},[1380,1701,1404],{"class":1390},[1380,1703,1704],{"class":1407},"checkout",[1380,1706,1454],{"class":1390},[1380,1708,1398],{"class":1390},[1380,1710,1459],{"class":1394},[1380,1712,1713,1715,1718,1720,1723,1725,1728,1730,1732,1735,1737,1739,1741,1743,1745],{"class":1382,"line":1462},[1380,1714,1424],{"class":1423},[1380,1716,1717],{"class":1394}," child ",[1380,1719,1430],{"class":1390},[1380,1721,1722],{"class":1394}," log",[1380,1724,1468],{"class":1390},[1380,1726,1727],{"class":1433},"child",[1380,1729,1436],{"class":1394},[1380,1731,1439],{"class":1390},[1380,1733,1734],{"class":1442}," flow",[1380,1736,1446],{"class":1390},[1380,1738,1404],{"class":1390},[1380,1740,1704],{"class":1407},[1380,1742,1454],{"class":1390},[1380,1744,1398],{"class":1390},[1380,1746,1459],{"class":1394},[1380,1748,1749],{"class":1382,"line":1491},[1380,1750,1417],{"emptyLinePlaceholder":1416},[1380,1752,1754,1756,1758,1760,1762,1764,1767,1769,1771,1774,1776,1778],{"class":1382,"line":1753},6,[1380,1755,1727],{"class":1394},[1380,1757,1468],{"class":1390},[1380,1759,541],{"class":1433},[1380,1761,1436],{"class":1394},[1380,1763,1439],{"class":1390},[1380,1765,1766],{"class":1442}," event",[1380,1768,1446],{"class":1390},[1380,1770,1404],{"class":1390},[1380,1772,1773],{"class":1407},"checkout_started",[1380,1775,1454],{"class":1390},[1380,1777,1398],{"class":1390},[1380,1779,1459],{"class":1394},[1380,1781,1783],{"class":1382,"line":1782},7,[1380,1784,1417],{"emptyLinePlaceholder":1416},[1380,1786,1788,1791],{"class":1382,"line":1787},8,[1380,1789,1790],{"class":1386},"try",[1380,1792,1793],{"class":1390}," {\n",[1380,1795,1797,1800,1803,1806,1809,1812,1814,1817],{"class":1382,"line":1796},9,[1380,1798,1799],{"class":1423},"  const",[1380,1801,1802],{"class":1394}," cart",[1380,1804,1805],{"class":1390}," =",[1380,1807,1808],{"class":1386}," await",[1380,1810,1811],{"class":1433}," getCart",[1380,1813,1436],{"class":1442},[1380,1815,1816],{"class":1394},"userId",[1380,1818,1459],{"class":1442},[1380,1820,1822,1825,1827,1829,1831,1833,1835,1837,1839,1842,1844,1846,1848,1851,1853,1856,1859,1862,1864,1866,1868,1871,1873,1876,1878,1881,1883],{"class":1382,"line":1821},10,[1380,1823,1824],{"class":1394},"  child",[1380,1826,1468],{"class":1390},[1380,1828,541],{"class":1433},[1380,1830,1436],{"class":1442},[1380,1832,1439],{"class":1390},[1380,1834,1802],{"class":1442},[1380,1836,1446],{"class":1390},[1380,1838,1391],{"class":1390},[1380,1840,1841],{"class":1442}," items",[1380,1843,1446],{"class":1390},[1380,1845,1802],{"class":1394},[1380,1847,1468],{"class":1390},[1380,1849,1850],{"class":1394},"items",[1380,1852,1468],{"class":1390},[1380,1854,1855],{"class":1394},"length",[1380,1857,1858],{"class":1390},",",[1380,1860,1861],{"class":1442}," total",[1380,1863,1446],{"class":1390},[1380,1865,1802],{"class":1394},[1380,1867,1468],{"class":1390},[1380,1869,1870],{"class":1394},"total",[1380,1872,1398],{"class":1390},[1380,1874,1875],{"class":1390}," },",[1380,1877,1404],{"class":1390},[1380,1879,1880],{"class":1407},"cart loaded",[1380,1882,1454],{"class":1390},[1380,1884,1459],{"class":1442},[1380,1886,1888],{"class":1382,"line":1887},11,[1380,1889,1417],{"emptyLinePlaceholder":1416},[1380,1891,1893,1895,1898,1900,1902,1905,1907,1910,1912,1915,1917,1919],{"class":1382,"line":1892},12,[1380,1894,1799],{"class":1423},[1380,1896,1897],{"class":1394}," charge",[1380,1899,1805],{"class":1390},[1380,1901,1808],{"class":1386},[1380,1903,1904],{"class":1394}," stripe",[1380,1906,1468],{"class":1390},[1380,1908,1909],{"class":1433},"charge",[1380,1911,1436],{"class":1442},[1380,1913,1914],{"class":1394},"cart",[1380,1916,1468],{"class":1390},[1380,1918,1870],{"class":1394},[1380,1920,1459],{"class":1442},[1380,1922,1924,1926,1928,1930,1932,1934,1936,1938,1940,1943,1945,1947,1949,1952,1954,1956,1958,1961,1963],{"class":1382,"line":1923},13,[1380,1925,1824],{"class":1394},[1380,1927,1468],{"class":1390},[1380,1929,541],{"class":1433},[1380,1931,1436],{"class":1442},[1380,1933,1439],{"class":1390},[1380,1935,1904],{"class":1442},[1380,1937,1446],{"class":1390},[1380,1939,1391],{"class":1390},[1380,1941,1942],{"class":1442}," chargeId",[1380,1944,1446],{"class":1390},[1380,1946,1897],{"class":1394},[1380,1948,1468],{"class":1390},[1380,1950,1951],{"class":1394},"id",[1380,1953,1398],{"class":1390},[1380,1955,1875],{"class":1390},[1380,1957,1404],{"class":1390},[1380,1959,1960],{"class":1407},"charge ok",[1380,1962,1454],{"class":1390},[1380,1964,1459],{"class":1442},[1380,1966,1968],{"class":1382,"line":1967},14,[1380,1969,1417],{"emptyLinePlaceholder":1416},[1380,1971,1973,1976,1979,1982,1984,1986,1989,1992],{"class":1382,"line":1972},15,[1380,1974,1975],{"class":1386},"  if",[1380,1977,1978],{"class":1442}," (",[1380,1980,1981],{"class":1390},"!",[1380,1983,1909],{"class":1394},[1380,1985,1468],{"class":1390},[1380,1987,1988],{"class":1394},"success",[1380,1990,1991],{"class":1442},") ",[1380,1993,1994],{"class":1390},"{\n",[1380,1996,1998,2001,2004,2007,2009,2012,2015,2018,2020,2022,2025,2028],{"class":1382,"line":1997},16,[1380,1999,2000],{"class":1386},"    throw",[1380,2002,2003],{"class":1390}," new",[1380,2005,2006],{"class":1433}," Error",[1380,2008,1436],{"class":1442},[1380,2010,2011],{"class":1390},"`",[1380,2013,2014],{"class":1407},"Payment failed: ",[1380,2016,2017],{"class":1390},"${",[1380,2019,1909],{"class":1394},[1380,2021,1468],{"class":1390},[1380,2023,2024],{"class":1394},"decline_reason",[1380,2026,2027],{"class":1390},"}`",[1380,2029,1459],{"class":1442},[1380,2031,2033],{"class":1382,"line":2032},17,[1380,2034,2035],{"class":1390},"  }\n",[1380,2037,2039,2042,2045,2048],{"class":1382,"line":2038},18,[1380,2040,2041],{"class":1390},"}",[1380,2043,2044],{"class":1386}," catch",[1380,2046,2047],{"class":1394}," (err) ",[1380,2049,1994],{"class":1390},[1380,2051,2053,2055,2057,2059,2061,2063,2066,2068,2070,2073,2075],{"class":1382,"line":2052},19,[1380,2054,1824],{"class":1394},[1380,2056,1468],{"class":1390},[1380,2058,1556],{"class":1433},[1380,2060,1436],{"class":1442},[1380,2062,1439],{"class":1390},[1380,2064,2065],{"class":1394}," err",[1380,2067,1875],{"class":1390},[1380,2069,1404],{"class":1390},[1380,2071,2072],{"class":1407},"checkout failed",[1380,2074,1454],{"class":1390},[1380,2076,1459],{"class":1442},[1380,2078,2080,2083],{"class":1382,"line":2079},20,[1380,2081,2082],{"class":1386},"  throw",[1380,2084,2085],{"class":1394}," err\n",[1380,2087,2089],{"class":1382,"line":2088},21,[1380,2090,2091],{"class":1390},"}\n",[1371,2093,2095],{"className":1373,"code":2094,"filename":464,"language":1375,"meta":1376,"style":1376},"import { createLogger as createWinston, format, transports } from 'winston'\n\nconst log = createWinston({\n  defaultMeta: { service: 'checkout' },\n  format: format.combine(format.timestamp(), format.json()),\n  transports: [new transports.Console()],\n})\n\nlog.info({ event: 'checkout_started', flow: 'checkout' })\n\ntry {\n  const cart = await getCart(userId)\n  log.info({ flow: 'checkout', cart: { items: cart.items.length, total: cart.total } })\n\n  const charge = await stripe.charge(cart.total)\n  log.info({ flow: 'checkout', stripe: { chargeId: charge.id } })\n\n  if (!charge.success) {\n    throw new Error(`Payment failed: ${charge.decline_reason}`)\n  }\n} catch (err) {\n  log.error({ flow: 'checkout', err })\n  throw err\n}\n",[486,2096,2097,2131,2135,2149,2172,2212,2237,2243,2247,2285,2289,2295,2313,2376,2380,2406,2452,2456,2474,2500,2504,2514,2545,2552],{"__ignoreMap":1376},[1380,2098,2099,2101,2103,2105,2108,2111,2113,2116,2118,2121,2123,2125,2127,2129],{"class":1382,"line":1383},[1380,2100,1387],{"class":1386},[1380,2102,1391],{"class":1390},[1380,2104,1395],{"class":1394},[1380,2106,2107],{"class":1386}," as",[1380,2109,2110],{"class":1394}," createWinston",[1380,2112,1858],{"class":1390},[1380,2114,2115],{"class":1394}," format",[1380,2117,1858],{"class":1390},[1380,2119,2120],{"class":1394}," transports",[1380,2122,1398],{"class":1390},[1380,2124,1401],{"class":1386},[1380,2126,1404],{"class":1390},[1380,2128,464],{"class":1407},[1380,2130,1410],{"class":1390},[1380,2132,2133],{"class":1382,"line":1413},[1380,2134,1417],{"emptyLinePlaceholder":1416},[1380,2136,2137,2139,2141,2143,2145,2147],{"class":1382,"line":1420},[1380,2138,1424],{"class":1423},[1380,2140,1427],{"class":1394},[1380,2142,1430],{"class":1390},[1380,2144,2110],{"class":1433},[1380,2146,1436],{"class":1394},[1380,2148,1994],{"class":1390},[1380,2150,2151,2154,2156,2158,2161,2163,2165,2167,2169],{"class":1382,"line":1462},[1380,2152,2153],{"class":1442},"  defaultMeta",[1380,2155,1446],{"class":1390},[1380,2157,1391],{"class":1390},[1380,2159,2160],{"class":1442}," service",[1380,2162,1446],{"class":1390},[1380,2164,1404],{"class":1390},[1380,2166,1704],{"class":1407},[1380,2168,1454],{"class":1390},[1380,2170,2171],{"class":1390}," },\n",[1380,2173,2174,2177,2179,2181,2183,2186,2189,2191,2194,2197,2199,2201,2203,2206,2209],{"class":1382,"line":1491},[1380,2175,2176],{"class":1442},"  format",[1380,2178,1446],{"class":1390},[1380,2180,2115],{"class":1394},[1380,2182,1468],{"class":1390},[1380,2184,2185],{"class":1433},"combine",[1380,2187,2188],{"class":1394},"(format",[1380,2190,1468],{"class":1390},[1380,2192,2193],{"class":1433},"timestamp",[1380,2195,2196],{"class":1394},"()",[1380,2198,1858],{"class":1390},[1380,2200,2115],{"class":1394},[1380,2202,1468],{"class":1390},[1380,2204,2205],{"class":1433},"json",[1380,2207,2208],{"class":1394},"())",[1380,2210,2211],{"class":1390},",\n",[1380,2213,2214,2217,2219,2222,2225,2227,2229,2232,2235],{"class":1382,"line":1753},[1380,2215,2216],{"class":1442},"  transports",[1380,2218,1446],{"class":1390},[1380,2220,2221],{"class":1394}," [",[1380,2223,2224],{"class":1390},"new",[1380,2226,2120],{"class":1394},[1380,2228,1468],{"class":1390},[1380,2230,2231],{"class":1433},"Console",[1380,2233,2234],{"class":1394},"()]",[1380,2236,2211],{"class":1390},[1380,2238,2239,2241],{"class":1382,"line":1782},[1380,2240,2041],{"class":1390},[1380,2242,1459],{"class":1394},[1380,2244,2245],{"class":1382,"line":1787},[1380,2246,1417],{"emptyLinePlaceholder":1416},[1380,2248,2249,2251,2253,2255,2257,2259,2261,2263,2265,2267,2269,2271,2273,2275,2277,2279,2281,2283],{"class":1382,"line":1796},[1380,2250,1465],{"class":1394},[1380,2252,1468],{"class":1390},[1380,2254,541],{"class":1433},[1380,2256,1436],{"class":1394},[1380,2258,1439],{"class":1390},[1380,2260,1766],{"class":1442},[1380,2262,1446],{"class":1390},[1380,2264,1404],{"class":1390},[1380,2266,1773],{"class":1407},[1380,2268,1454],{"class":1390},[1380,2270,1858],{"class":1390},[1380,2272,1734],{"class":1442},[1380,2274,1446],{"class":1390},[1380,2276,1404],{"class":1390},[1380,2278,1704],{"class":1407},[1380,2280,1454],{"class":1390},[1380,2282,1398],{"class":1390},[1380,2284,1459],{"class":1394},[1380,2286,2287],{"class":1382,"line":1821},[1380,2288,1417],{"emptyLinePlaceholder":1416},[1380,2290,2291,2293],{"class":1382,"line":1887},[1380,2292,1790],{"class":1386},[1380,2294,1793],{"class":1390},[1380,2296,2297,2299,2301,2303,2305,2307,2309,2311],{"class":1382,"line":1892},[1380,2298,1799],{"class":1423},[1380,2300,1802],{"class":1394},[1380,2302,1805],{"class":1390},[1380,2304,1808],{"class":1386},[1380,2306,1811],{"class":1433},[1380,2308,1436],{"class":1442},[1380,2310,1816],{"class":1394},[1380,2312,1459],{"class":1442},[1380,2314,2315,2318,2320,2322,2324,2326,2328,2330,2332,2334,2336,2338,2340,2342,2344,2346,2348,2350,2352,2354,2356,2358,2360,2362,2364,2366,2368,2370,2372,2374],{"class":1382,"line":1923},[1380,2316,2317],{"class":1394},"  log",[1380,2319,1468],{"class":1390},[1380,2321,541],{"class":1433},[1380,2323,1436],{"class":1442},[1380,2325,1439],{"class":1390},[1380,2327,1734],{"class":1442},[1380,2329,1446],{"class":1390},[1380,2331,1404],{"class":1390},[1380,2333,1704],{"class":1407},[1380,2335,1454],{"class":1390},[1380,2337,1858],{"class":1390},[1380,2339,1802],{"class":1442},[1380,2341,1446],{"class":1390},[1380,2343,1391],{"class":1390},[1380,2345,1841],{"class":1442},[1380,2347,1446],{"class":1390},[1380,2349,1802],{"class":1394},[1380,2351,1468],{"class":1390},[1380,2353,1850],{"class":1394},[1380,2355,1468],{"class":1390},[1380,2357,1855],{"class":1394},[1380,2359,1858],{"class":1390},[1380,2361,1861],{"class":1442},[1380,2363,1446],{"class":1390},[1380,2365,1802],{"class":1394},[1380,2367,1468],{"class":1390},[1380,2369,1870],{"class":1394},[1380,2371,1398],{"class":1390},[1380,2373,1398],{"class":1390},[1380,2375,1459],{"class":1442},[1380,2377,2378],{"class":1382,"line":1967},[1380,2379,1417],{"emptyLinePlaceholder":1416},[1380,2381,2382,2384,2386,2388,2390,2392,2394,2396,2398,2400,2402,2404],{"class":1382,"line":1972},[1380,2383,1799],{"class":1423},[1380,2385,1897],{"class":1394},[1380,2387,1805],{"class":1390},[1380,2389,1808],{"class":1386},[1380,2391,1904],{"class":1394},[1380,2393,1468],{"class":1390},[1380,2395,1909],{"class":1433},[1380,2397,1436],{"class":1442},[1380,2399,1914],{"class":1394},[1380,2401,1468],{"class":1390},[1380,2403,1870],{"class":1394},[1380,2405,1459],{"class":1442},[1380,2407,2408,2410,2412,2414,2416,2418,2420,2422,2424,2426,2428,2430,2432,2434,2436,2438,2440,2442,2444,2446,2448,2450],{"class":1382,"line":1997},[1380,2409,2317],{"class":1394},[1380,2411,1468],{"class":1390},[1380,2413,541],{"class":1433},[1380,2415,1436],{"class":1442},[1380,2417,1439],{"class":1390},[1380,2419,1734],{"class":1442},[1380,2421,1446],{"class":1390},[1380,2423,1404],{"class":1390},[1380,2425,1704],{"class":1407},[1380,2427,1454],{"class":1390},[1380,2429,1858],{"class":1390},[1380,2431,1904],{"class":1442},[1380,2433,1446],{"class":1390},[1380,2435,1391],{"class":1390},[1380,2437,1942],{"class":1442},[1380,2439,1446],{"class":1390},[1380,2441,1897],{"class":1394},[1380,2443,1468],{"class":1390},[1380,2445,1951],{"class":1394},[1380,2447,1398],{"class":1390},[1380,2449,1398],{"class":1390},[1380,2451,1459],{"class":1442},[1380,2453,2454],{"class":1382,"line":2032},[1380,2455,1417],{"emptyLinePlaceholder":1416},[1380,2457,2458,2460,2462,2464,2466,2468,2470,2472],{"class":1382,"line":2038},[1380,2459,1975],{"class":1386},[1380,2461,1978],{"class":1442},[1380,2463,1981],{"class":1390},[1380,2465,1909],{"class":1394},[1380,2467,1468],{"class":1390},[1380,2469,1988],{"class":1394},[1380,2471,1991],{"class":1442},[1380,2473,1994],{"class":1390},[1380,2475,2476,2478,2480,2482,2484,2486,2488,2490,2492,2494,2496,2498],{"class":1382,"line":2052},[1380,2477,2000],{"class":1386},[1380,2479,2003],{"class":1390},[1380,2481,2006],{"class":1433},[1380,2483,1436],{"class":1442},[1380,2485,2011],{"class":1390},[1380,2487,2014],{"class":1407},[1380,2489,2017],{"class":1390},[1380,2491,1909],{"class":1394},[1380,2493,1468],{"class":1390},[1380,2495,2024],{"class":1394},[1380,2497,2027],{"class":1390},[1380,2499,1459],{"class":1442},[1380,2501,2502],{"class":1382,"line":2079},[1380,2503,2035],{"class":1390},[1380,2505,2506,2508,2510,2512],{"class":1382,"line":2088},[1380,2507,2041],{"class":1390},[1380,2509,2044],{"class":1386},[1380,2511,2047],{"class":1394},[1380,2513,1994],{"class":1390},[1380,2515,2517,2519,2521,2523,2525,2527,2529,2531,2533,2535,2537,2539,2541,2543],{"class":1382,"line":2516},22,[1380,2518,2317],{"class":1394},[1380,2520,1468],{"class":1390},[1380,2522,1556],{"class":1433},[1380,2524,1436],{"class":1442},[1380,2526,1439],{"class":1390},[1380,2528,1734],{"class":1442},[1380,2530,1446],{"class":1390},[1380,2532,1404],{"class":1390},[1380,2534,1704],{"class":1407},[1380,2536,1454],{"class":1390},[1380,2538,1858],{"class":1390},[1380,2540,2065],{"class":1394},[1380,2542,1398],{"class":1390},[1380,2544,1459],{"class":1442},[1380,2546,2548,2550],{"class":1382,"line":2547},23,[1380,2549,2082],{"class":1386},[1380,2551,2085],{"class":1394},[1380,2553,2555],{"class":1382,"line":2554},24,[1380,2556,2091],{"class":1390},[1371,2558,2560],{"className":1373,"code":2559,"filename":468,"language":1375,"meta":1376,"style":1376},"import { consola } from 'consola'\n\nconst log = consola.withTag('checkout')\n\nlog.info('Starting checkout flow')\n\ntry {\n  const cart = await getCart(userId)\n  log.info('cart loaded', { items: cart.items.length, total: cart.total })\n\n  const charge = await stripe.charge(cart.total)\n  log.info('charge ok', { chargeId: charge.id })\n\n  if (!charge.success) {\n    throw new Error(`Payment failed: ${charge.decline_reason}`)\n  }\n} catch (err) {\n  log.error('checkout failed', err)\n  throw err\n}\n",[486,2561,2562,2581,2585,2610,2614,2633,2637,2643,2661,2711,2715,2741,2775,2779,2797,2823,2827,2837,2859,2865],{"__ignoreMap":1376},[1380,2563,2564,2566,2568,2571,2573,2575,2577,2579],{"class":1382,"line":1383},[1380,2565,1387],{"class":1386},[1380,2567,1391],{"class":1390},[1380,2569,2570],{"class":1394}," consola",[1380,2572,1398],{"class":1390},[1380,2574,1401],{"class":1386},[1380,2576,1404],{"class":1390},[1380,2578,468],{"class":1407},[1380,2580,1410],{"class":1390},[1380,2582,2583],{"class":1382,"line":1413},[1380,2584,1417],{"emptyLinePlaceholder":1416},[1380,2586,2587,2589,2591,2593,2595,2597,2600,2602,2604,2606,2608],{"class":1382,"line":1420},[1380,2588,1424],{"class":1423},[1380,2590,1427],{"class":1394},[1380,2592,1430],{"class":1390},[1380,2594,2570],{"class":1394},[1380,2596,1468],{"class":1390},[1380,2598,2599],{"class":1433},"withTag",[1380,2601,1436],{"class":1394},[1380,2603,1454],{"class":1390},[1380,2605,1704],{"class":1407},[1380,2607,1454],{"class":1390},[1380,2609,1459],{"class":1394},[1380,2611,2612],{"class":1382,"line":1462},[1380,2613,1417],{"emptyLinePlaceholder":1416},[1380,2615,2616,2618,2620,2622,2624,2626,2629,2631],{"class":1382,"line":1491},[1380,2617,1465],{"class":1394},[1380,2619,1468],{"class":1390},[1380,2621,541],{"class":1433},[1380,2623,1436],{"class":1394},[1380,2625,1454],{"class":1390},[1380,2627,2628],{"class":1407},"Starting checkout flow",[1380,2630,1454],{"class":1390},[1380,2632,1459],{"class":1394},[1380,2634,2635],{"class":1382,"line":1753},[1380,2636,1417],{"emptyLinePlaceholder":1416},[1380,2638,2639,2641],{"class":1382,"line":1782},[1380,2640,1790],{"class":1386},[1380,2642,1793],{"class":1390},[1380,2644,2645,2647,2649,2651,2653,2655,2657,2659],{"class":1382,"line":1787},[1380,2646,1799],{"class":1423},[1380,2648,1802],{"class":1394},[1380,2650,1805],{"class":1390},[1380,2652,1808],{"class":1386},[1380,2654,1811],{"class":1433},[1380,2656,1436],{"class":1442},[1380,2658,1816],{"class":1394},[1380,2660,1459],{"class":1442},[1380,2662,2663,2665,2667,2669,2671,2673,2675,2677,2679,2681,2683,2685,2687,2689,2691,2693,2695,2697,2699,2701,2703,2705,2707,2709],{"class":1382,"line":1796},[1380,2664,2317],{"class":1394},[1380,2666,1468],{"class":1390},[1380,2668,541],{"class":1433},[1380,2670,1436],{"class":1442},[1380,2672,1454],{"class":1390},[1380,2674,1880],{"class":1407},[1380,2676,1454],{"class":1390},[1380,2678,1858],{"class":1390},[1380,2680,1391],{"class":1390},[1380,2682,1841],{"class":1442},[1380,2684,1446],{"class":1390},[1380,2686,1802],{"class":1394},[1380,2688,1468],{"class":1390},[1380,2690,1850],{"class":1394},[1380,2692,1468],{"class":1390},[1380,2694,1855],{"class":1394},[1380,2696,1858],{"class":1390},[1380,2698,1861],{"class":1442},[1380,2700,1446],{"class":1390},[1380,2702,1802],{"class":1394},[1380,2704,1468],{"class":1390},[1380,2706,1870],{"class":1394},[1380,2708,1398],{"class":1390},[1380,2710,1459],{"class":1442},[1380,2712,2713],{"class":1382,"line":1821},[1380,2714,1417],{"emptyLinePlaceholder":1416},[1380,2716,2717,2719,2721,2723,2725,2727,2729,2731,2733,2735,2737,2739],{"class":1382,"line":1887},[1380,2718,1799],{"class":1423},[1380,2720,1897],{"class":1394},[1380,2722,1805],{"class":1390},[1380,2724,1808],{"class":1386},[1380,2726,1904],{"class":1394},[1380,2728,1468],{"class":1390},[1380,2730,1909],{"class":1433},[1380,2732,1436],{"class":1442},[1380,2734,1914],{"class":1394},[1380,2736,1468],{"class":1390},[1380,2738,1870],{"class":1394},[1380,2740,1459],{"class":1442},[1380,2742,2743,2745,2747,2749,2751,2753,2755,2757,2759,2761,2763,2765,2767,2769,2771,2773],{"class":1382,"line":1892},[1380,2744,2317],{"class":1394},[1380,2746,1468],{"class":1390},[1380,2748,541],{"class":1433},[1380,2750,1436],{"class":1442},[1380,2752,1454],{"class":1390},[1380,2754,1960],{"class":1407},[1380,2756,1454],{"class":1390},[1380,2758,1858],{"class":1390},[1380,2760,1391],{"class":1390},[1380,2762,1942],{"class":1442},[1380,2764,1446],{"class":1390},[1380,2766,1897],{"class":1394},[1380,2768,1468],{"class":1390},[1380,2770,1951],{"class":1394},[1380,2772,1398],{"class":1390},[1380,2774,1459],{"class":1442},[1380,2776,2777],{"class":1382,"line":1923},[1380,2778,1417],{"emptyLinePlaceholder":1416},[1380,2780,2781,2783,2785,2787,2789,2791,2793,2795],{"class":1382,"line":1967},[1380,2782,1975],{"class":1386},[1380,2784,1978],{"class":1442},[1380,2786,1981],{"class":1390},[1380,2788,1909],{"class":1394},[1380,2790,1468],{"class":1390},[1380,2792,1988],{"class":1394},[1380,2794,1991],{"class":1442},[1380,2796,1994],{"class":1390},[1380,2798,2799,2801,2803,2805,2807,2809,2811,2813,2815,2817,2819,2821],{"class":1382,"line":1972},[1380,2800,2000],{"class":1386},[1380,2802,2003],{"class":1390},[1380,2804,2006],{"class":1433},[1380,2806,1436],{"class":1442},[1380,2808,2011],{"class":1390},[1380,2810,2014],{"class":1407},[1380,2812,2017],{"class":1390},[1380,2814,1909],{"class":1394},[1380,2816,1468],{"class":1390},[1380,2818,2024],{"class":1394},[1380,2820,2027],{"class":1390},[1380,2822,1459],{"class":1442},[1380,2824,2825],{"class":1382,"line":1997},[1380,2826,2035],{"class":1390},[1380,2828,2829,2831,2833,2835],{"class":1382,"line":2032},[1380,2830,2041],{"class":1390},[1380,2832,2044],{"class":1386},[1380,2834,2047],{"class":1394},[1380,2836,1994],{"class":1390},[1380,2838,2839,2841,2843,2845,2847,2849,2851,2853,2855,2857],{"class":1382,"line":2038},[1380,2840,2317],{"class":1394},[1380,2842,1468],{"class":1390},[1380,2844,1556],{"class":1433},[1380,2846,1436],{"class":1442},[1380,2848,1454],{"class":1390},[1380,2850,2072],{"class":1407},[1380,2852,1454],{"class":1390},[1380,2854,1858],{"class":1390},[1380,2856,2065],{"class":1394},[1380,2858,1459],{"class":1442},[1380,2860,2861,2863],{"class":1382,"line":2052},[1380,2862,2082],{"class":1386},[1380,2864,2085],{"class":1394},[1380,2866,2867],{"class":1382,"line":2079},[1380,2868,2091],{"class":1390},[1371,2870,2873],{"className":1373,"code":2871,"filename":2872,"language":1375,"meta":1376,"style":1376},"console.log('[checkout] Starting checkout flow')\n\ntry {\n  const cart = await getCart(userId)\n  console.log('[checkout] cart loaded', { items: cart.items.length, total: cart.total })\n\n  const charge = await stripe.charge(cart.total)\n  console.log('[checkout] charge ok', { chargeId: charge.id })\n\n  if (!charge.success) {\n    throw new Error(`Payment failed: ${charge.decline_reason}`)\n  }\n} catch (err) {\n  console.error('[checkout] failed', err)\n  throw err\n}\n","console.log",[486,2874,2875,2895,2899,2905,2923,2975,2979,3005,3040,3044,3062,3088,3092,3102,3125,3131],{"__ignoreMap":1376},[1380,2876,2877,2880,2882,2884,2886,2888,2891,2893],{"class":1382,"line":1383},[1380,2878,2879],{"class":1394},"console",[1380,2881,1468],{"class":1390},[1380,2883,1465],{"class":1433},[1380,2885,1436],{"class":1394},[1380,2887,1454],{"class":1390},[1380,2889,2890],{"class":1407},"[checkout] Starting checkout flow",[1380,2892,1454],{"class":1390},[1380,2894,1459],{"class":1394},[1380,2896,2897],{"class":1382,"line":1413},[1380,2898,1417],{"emptyLinePlaceholder":1416},[1380,2900,2901,2903],{"class":1382,"line":1420},[1380,2902,1790],{"class":1386},[1380,2904,1793],{"class":1390},[1380,2906,2907,2909,2911,2913,2915,2917,2919,2921],{"class":1382,"line":1462},[1380,2908,1799],{"class":1423},[1380,2910,1802],{"class":1394},[1380,2912,1805],{"class":1390},[1380,2914,1808],{"class":1386},[1380,2916,1811],{"class":1433},[1380,2918,1436],{"class":1442},[1380,2920,1816],{"class":1394},[1380,2922,1459],{"class":1442},[1380,2924,2925,2928,2930,2932,2934,2936,2939,2941,2943,2945,2947,2949,2951,2953,2955,2957,2959,2961,2963,2965,2967,2969,2971,2973],{"class":1382,"line":1491},[1380,2926,2927],{"class":1394},"  console",[1380,2929,1468],{"class":1390},[1380,2931,1465],{"class":1433},[1380,2933,1436],{"class":1442},[1380,2935,1454],{"class":1390},[1380,2937,2938],{"class":1407},"[checkout] cart loaded",[1380,2940,1454],{"class":1390},[1380,2942,1858],{"class":1390},[1380,2944,1391],{"class":1390},[1380,2946,1841],{"class":1442},[1380,2948,1446],{"class":1390},[1380,2950,1802],{"class":1394},[1380,2952,1468],{"class":1390},[1380,2954,1850],{"class":1394},[1380,2956,1468],{"class":1390},[1380,2958,1855],{"class":1394},[1380,2960,1858],{"class":1390},[1380,2962,1861],{"class":1442},[1380,2964,1446],{"class":1390},[1380,2966,1802],{"class":1394},[1380,2968,1468],{"class":1390},[1380,2970,1870],{"class":1394},[1380,2972,1398],{"class":1390},[1380,2974,1459],{"class":1442},[1380,2976,2977],{"class":1382,"line":1753},[1380,2978,1417],{"emptyLinePlaceholder":1416},[1380,2980,2981,2983,2985,2987,2989,2991,2993,2995,2997,2999,3001,3003],{"class":1382,"line":1782},[1380,2982,1799],{"class":1423},[1380,2984,1897],{"class":1394},[1380,2986,1805],{"class":1390},[1380,2988,1808],{"class":1386},[1380,2990,1904],{"class":1394},[1380,2992,1468],{"class":1390},[1380,2994,1909],{"class":1433},[1380,2996,1436],{"class":1442},[1380,2998,1914],{"class":1394},[1380,3000,1468],{"class":1390},[1380,3002,1870],{"class":1394},[1380,3004,1459],{"class":1442},[1380,3006,3007,3009,3011,3013,3015,3017,3020,3022,3024,3026,3028,3030,3032,3034,3036,3038],{"class":1382,"line":1787},[1380,3008,2927],{"class":1394},[1380,3010,1468],{"class":1390},[1380,3012,1465],{"class":1433},[1380,3014,1436],{"class":1442},[1380,3016,1454],{"class":1390},[1380,3018,3019],{"class":1407},"[checkout] charge ok",[1380,3021,1454],{"class":1390},[1380,3023,1858],{"class":1390},[1380,3025,1391],{"class":1390},[1380,3027,1942],{"class":1442},[1380,3029,1446],{"class":1390},[1380,3031,1897],{"class":1394},[1380,3033,1468],{"class":1390},[1380,3035,1951],{"class":1394},[1380,3037,1398],{"class":1390},[1380,3039,1459],{"class":1442},[1380,3041,3042],{"class":1382,"line":1796},[1380,3043,1417],{"emptyLinePlaceholder":1416},[1380,3045,3046,3048,3050,3052,3054,3056,3058,3060],{"class":1382,"line":1821},[1380,3047,1975],{"class":1386},[1380,3049,1978],{"class":1442},[1380,3051,1981],{"class":1390},[1380,3053,1909],{"class":1394},[1380,3055,1468],{"class":1390},[1380,3057,1988],{"class":1394},[1380,3059,1991],{"class":1442},[1380,3061,1994],{"class":1390},[1380,3063,3064,3066,3068,3070,3072,3074,3076,3078,3080,3082,3084,3086],{"class":1382,"line":1887},[1380,3065,2000],{"class":1386},[1380,3067,2003],{"class":1390},[1380,3069,2006],{"class":1433},[1380,3071,1436],{"class":1442},[1380,3073,2011],{"class":1390},[1380,3075,2014],{"class":1407},[1380,3077,2017],{"class":1390},[1380,3079,1909],{"class":1394},[1380,3081,1468],{"class":1390},[1380,3083,2024],{"class":1394},[1380,3085,2027],{"class":1390},[1380,3087,1459],{"class":1442},[1380,3089,3090],{"class":1382,"line":1892},[1380,3091,2035],{"class":1390},[1380,3093,3094,3096,3098,3100],{"class":1382,"line":1923},[1380,3095,2041],{"class":1390},[1380,3097,2044],{"class":1386},[1380,3099,2047],{"class":1394},[1380,3101,1994],{"class":1390},[1380,3103,3104,3106,3108,3110,3112,3114,3117,3119,3121,3123],{"class":1382,"line":1967},[1380,3105,2927],{"class":1394},[1380,3107,1468],{"class":1390},[1380,3109,1556],{"class":1433},[1380,3111,1436],{"class":1442},[1380,3113,1454],{"class":1390},[1380,3115,3116],{"class":1407},"[checkout] failed",[1380,3118,1454],{"class":1390},[1380,3120,1858],{"class":1390},[1380,3122,2065],{"class":1394},[1380,3124,1459],{"class":1442},[1380,3126,3127,3129],{"class":1382,"line":1972},[1380,3128,2082],{"class":1386},[1380,3130,2085],{"class":1394},[1380,3132,3133],{"class":1382,"line":1997},[1380,3134,2091],{"class":1390},[454,3136,3137],{},"All four become this — same code regardless of the source library:",[1371,3139,3142],{"className":1373,"code":3140,"filename":3141,"language":1375,"meta":1376,"style":1376},"import { initLogger, createLogger, createError } from 'evlog'\n\ninitLogger({ env: { service: 'checkout' } })\n\nconst log = createLogger({ flow: 'checkout' })\n\ntry {\n  const cart = await getCart(userId)\n  log.set({ cart: { items: cart.items.length, total: cart.total } })\n\n  const charge = await stripe.charge(cart.total)\n  log.set({ stripe: { chargeId: charge.id } })\n\n  if (!charge.success) {\n    throw createError({\n      message: 'Payment failed',\n      status: 402,\n      why: charge.decline_reason,\n      fix: 'Try a different payment method',\n    })\n  }\n} catch (err) {\n  log.error(err as Error)\n  throw err\n} finally {\n  log.emit()\n}\n","After (evlog)",[486,3143,3144,3172,3176,3208,3212,3240,3244,3250,3268,3318,3322,3348,3382,3386,3404,3414,3430,3442,3457,3473,3480,3484,3494,3514,3520,3530,3541],{"__ignoreMap":1376},[1380,3145,3146,3148,3150,3153,3155,3157,3159,3162,3164,3166,3168,3170],{"class":1382,"line":1383},[1380,3147,1387],{"class":1386},[1380,3149,1391],{"class":1390},[1380,3151,3152],{"class":1394}," initLogger",[1380,3154,1858],{"class":1390},[1380,3156,1395],{"class":1394},[1380,3158,1858],{"class":1390},[1380,3160,3161],{"class":1394}," createError",[1380,3163,1398],{"class":1390},[1380,3165,1401],{"class":1386},[1380,3167,1404],{"class":1390},[1380,3169,568],{"class":1407},[1380,3171,1410],{"class":1390},[1380,3173,3174],{"class":1382,"line":1413},[1380,3175,1417],{"emptyLinePlaceholder":1416},[1380,3177,3178,3181,3183,3185,3188,3190,3192,3194,3196,3198,3200,3202,3204,3206],{"class":1382,"line":1420},[1380,3179,3180],{"class":1433},"initLogger",[1380,3182,1436],{"class":1394},[1380,3184,1439],{"class":1390},[1380,3186,3187],{"class":1442}," env",[1380,3189,1446],{"class":1390},[1380,3191,1391],{"class":1390},[1380,3193,2160],{"class":1442},[1380,3195,1446],{"class":1390},[1380,3197,1404],{"class":1390},[1380,3199,1704],{"class":1407},[1380,3201,1454],{"class":1390},[1380,3203,1398],{"class":1390},[1380,3205,1398],{"class":1390},[1380,3207,1459],{"class":1394},[1380,3209,3210],{"class":1382,"line":1462},[1380,3211,1417],{"emptyLinePlaceholder":1416},[1380,3213,3214,3216,3218,3220,3222,3224,3226,3228,3230,3232,3234,3236,3238],{"class":1382,"line":1491},[1380,3215,1424],{"class":1423},[1380,3217,1427],{"class":1394},[1380,3219,1430],{"class":1390},[1380,3221,1395],{"class":1433},[1380,3223,1436],{"class":1394},[1380,3225,1439],{"class":1390},[1380,3227,1734],{"class":1442},[1380,3229,1446],{"class":1390},[1380,3231,1404],{"class":1390},[1380,3233,1704],{"class":1407},[1380,3235,1454],{"class":1390},[1380,3237,1398],{"class":1390},[1380,3239,1459],{"class":1394},[1380,3241,3242],{"class":1382,"line":1753},[1380,3243,1417],{"emptyLinePlaceholder":1416},[1380,3245,3246,3248],{"class":1382,"line":1782},[1380,3247,1790],{"class":1386},[1380,3249,1793],{"class":1390},[1380,3251,3252,3254,3256,3258,3260,3262,3264,3266],{"class":1382,"line":1787},[1380,3253,1799],{"class":1423},[1380,3255,1802],{"class":1394},[1380,3257,1805],{"class":1390},[1380,3259,1808],{"class":1386},[1380,3261,1811],{"class":1433},[1380,3263,1436],{"class":1442},[1380,3265,1816],{"class":1394},[1380,3267,1459],{"class":1442},[1380,3269,3270,3272,3274,3276,3278,3280,3282,3284,3286,3288,3290,3292,3294,3296,3298,3300,3302,3304,3306,3308,3310,3312,3314,3316],{"class":1382,"line":1796},[1380,3271,2317],{"class":1394},[1380,3273,1468],{"class":1390},[1380,3275,1471],{"class":1433},[1380,3277,1436],{"class":1442},[1380,3279,1439],{"class":1390},[1380,3281,1802],{"class":1442},[1380,3283,1446],{"class":1390},[1380,3285,1391],{"class":1390},[1380,3287,1841],{"class":1442},[1380,3289,1446],{"class":1390},[1380,3291,1802],{"class":1394},[1380,3293,1468],{"class":1390},[1380,3295,1850],{"class":1394},[1380,3297,1468],{"class":1390},[1380,3299,1855],{"class":1394},[1380,3301,1858],{"class":1390},[1380,3303,1861],{"class":1442},[1380,3305,1446],{"class":1390},[1380,3307,1802],{"class":1394},[1380,3309,1468],{"class":1390},[1380,3311,1870],{"class":1394},[1380,3313,1398],{"class":1390},[1380,3315,1398],{"class":1390},[1380,3317,1459],{"class":1442},[1380,3319,3320],{"class":1382,"line":1821},[1380,3321,1417],{"emptyLinePlaceholder":1416},[1380,3323,3324,3326,3328,3330,3332,3334,3336,3338,3340,3342,3344,3346],{"class":1382,"line":1887},[1380,3325,1799],{"class":1423},[1380,3327,1897],{"class":1394},[1380,3329,1805],{"class":1390},[1380,3331,1808],{"class":1386},[1380,3333,1904],{"class":1394},[1380,3335,1468],{"class":1390},[1380,3337,1909],{"class":1433},[1380,3339,1436],{"class":1442},[1380,3341,1914],{"class":1394},[1380,3343,1468],{"class":1390},[1380,3345,1870],{"class":1394},[1380,3347,1459],{"class":1442},[1380,3349,3350,3352,3354,3356,3358,3360,3362,3364,3366,3368,3370,3372,3374,3376,3378,3380],{"class":1382,"line":1892},[1380,3351,2317],{"class":1394},[1380,3353,1468],{"class":1390},[1380,3355,1471],{"class":1433},[1380,3357,1436],{"class":1442},[1380,3359,1439],{"class":1390},[1380,3361,1904],{"class":1442},[1380,3363,1446],{"class":1390},[1380,3365,1391],{"class":1390},[1380,3367,1942],{"class":1442},[1380,3369,1446],{"class":1390},[1380,3371,1897],{"class":1394},[1380,3373,1468],{"class":1390},[1380,3375,1951],{"class":1394},[1380,3377,1398],{"class":1390},[1380,3379,1398],{"class":1390},[1380,3381,1459],{"class":1442},[1380,3383,3384],{"class":1382,"line":1923},[1380,3385,1417],{"emptyLinePlaceholder":1416},[1380,3387,3388,3390,3392,3394,3396,3398,3400,3402],{"class":1382,"line":1967},[1380,3389,1975],{"class":1386},[1380,3391,1978],{"class":1442},[1380,3393,1981],{"class":1390},[1380,3395,1909],{"class":1394},[1380,3397,1468],{"class":1390},[1380,3399,1988],{"class":1394},[1380,3401,1991],{"class":1442},[1380,3403,1994],{"class":1390},[1380,3405,3406,3408,3410,3412],{"class":1382,"line":1972},[1380,3407,2000],{"class":1386},[1380,3409,3161],{"class":1433},[1380,3411,1436],{"class":1442},[1380,3413,1994],{"class":1390},[1380,3415,3416,3419,3421,3423,3426,3428],{"class":1382,"line":1997},[1380,3417,3418],{"class":1442},"      message",[1380,3420,1446],{"class":1390},[1380,3422,1404],{"class":1390},[1380,3424,3425],{"class":1407},"Payment failed",[1380,3427,1454],{"class":1390},[1380,3429,2211],{"class":1390},[1380,3431,3432,3435,3437,3440],{"class":1382,"line":2032},[1380,3433,3434],{"class":1442},"      status",[1380,3436,1446],{"class":1390},[1380,3438,3439],{"class":1483}," 402",[1380,3441,2211],{"class":1390},[1380,3443,3444,3447,3449,3451,3453,3455],{"class":1382,"line":2038},[1380,3445,3446],{"class":1442},"      why",[1380,3448,1446],{"class":1390},[1380,3450,1897],{"class":1394},[1380,3452,1468],{"class":1390},[1380,3454,2024],{"class":1394},[1380,3456,2211],{"class":1390},[1380,3458,3459,3462,3464,3466,3469,3471],{"class":1382,"line":2052},[1380,3460,3461],{"class":1442},"      fix",[1380,3463,1446],{"class":1390},[1380,3465,1404],{"class":1390},[1380,3467,3468],{"class":1407},"Try a different payment method",[1380,3470,1454],{"class":1390},[1380,3472,2211],{"class":1390},[1380,3474,3475,3478],{"class":1382,"line":2079},[1380,3476,3477],{"class":1390},"    }",[1380,3479,1459],{"class":1442},[1380,3481,3482],{"class":1382,"line":2088},[1380,3483,2035],{"class":1390},[1380,3485,3486,3488,3490,3492],{"class":1382,"line":2516},[1380,3487,2041],{"class":1390},[1380,3489,2044],{"class":1386},[1380,3491,2047],{"class":1394},[1380,3493,1994],{"class":1390},[1380,3495,3496,3498,3500,3502,3504,3507,3509,3512],{"class":1382,"line":2547},[1380,3497,2317],{"class":1394},[1380,3499,1468],{"class":1390},[1380,3501,1556],{"class":1433},[1380,3503,1436],{"class":1442},[1380,3505,3506],{"class":1394},"err",[1380,3508,2107],{"class":1386},[1380,3510,2006],{"class":3511},"sBMFI",[1380,3513,1459],{"class":1442},[1380,3515,3516,3518],{"class":1382,"line":2554},[1380,3517,2082],{"class":1386},[1380,3519,2085],{"class":1394},[1380,3521,3523,3525,3528],{"class":1382,"line":3522},25,[1380,3524,2041],{"class":1390},[1380,3526,3527],{"class":1386}," finally",[1380,3529,1793],{"class":1390},[1380,3531,3533,3535,3537,3539],{"class":1382,"line":3532},26,[1380,3534,2317],{"class":1394},[1380,3536,1468],{"class":1390},[1380,3538,1498],{"class":1433},[1380,3540,1501],{"class":1442},[1380,3542,3544],{"class":1382,"line":3543},27,[1380,3545,2091],{"class":1390},[454,3547,3548],{},"Three things changed in every migration:",[476,3550,3551,3564,3584],{},[479,3552,3553,3556,3557,3559,3560,3563],{},[458,3554,3555],{},"N log lines → 1 wide event."," The 3-4 calls per request become ",[486,3558,1636],{}," accumulations and one ",[486,3561,3562],{},"log.emit"," at the end. Your dashboard gets one queryable row instead of stitching by request id.",[479,3565,3566,3576,3577,3579,3580,3583],{},[458,3567,3568,3569,3572,3573,1468],{},"Errors carry ",[486,3570,3571],{},"why"," and ",[486,3574,3575],{},"fix"," Throwing ",[486,3578,1629],{}," instead of ",[486,3581,3582],{},"new Error"," means your client (and on-call) get actionable context, not just a stack.",[479,3585,3586,3589,3590,3592,3593,3595],{},[458,3587,3588],{},"Setup is one line."," No formatter wiring, no transport assembly, no ",[486,3591,491],{}," peer dep. ",[486,3594,3180],{}," once at boot and you're done.",[471,3597,3599],{"id":3598},"reverse-direction-when-not-to-pick-evlog","Reverse direction: when not to pick evlog",[454,3601,3602],{},"Be honest with yourself. Don't switch if:",[476,3604,3605,3616,3623],{},[479,3606,3607,3608,461,3610,461,3612,3615],{},"You ship a library that's already part of the pino ecosystem (",[486,3609,494],{},[486,3611,491],{},[486,3613,3614],{},"pino-multi-stream"," plugins) and would lose tooling.",[479,3617,3618,3619,3622],{},"You have a custom pino transport (e.g. a worker-thread Datadog forwarder you wrote in 2021) you don't want to re-implement as an evlog drain. Most of the ",[503,3620,3621],{"href":95},"built-in adapters"," cover the common destinations, but custom protocols mean a port.",[479,3624,3625],{},"You log only inside CLIs and use consola purely for the pretty terminal output. evlog's pretty output is good but not consola-grade for spinners, prompts, and box renders. Use both: evlog for events that go to a drain, consola for prompts \u002F TUIs.",[471,3627,3629],{"id":3628},"next-steps","Next Steps",[476,3631,3632,3640,3645,3651],{},[479,3633,3634,3636,3637,3639],{},[503,3635,41],{"href":42}," — the ",[486,3638,1359],{}," API, migration tabs, and patterns",[479,3641,3642,3644],{},[503,3643,46],{"href":47}," — what unlocks when you accumulate context per operation",[479,3646,3647,3650],{},[503,3648,3649],{"href":427},"Performance Benchmarks"," — the methodology behind the numbers above",[479,3652,3653,3656],{},[503,3654,3655],{"href":228},"Standalone TypeScript"," — scripts, workers, and libraries without a web framework",[3658,3659,3660],"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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}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 .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":1376,"searchDepth":1413,"depth":1413,"links":3662},[3663,3664,3669,3679,3680,3681],{"id":473,"depth":1413,"text":474},{"id":529,"depth":1413,"text":530,"children":3665},[3666,3667,3668],{"id":550,"depth":1420,"text":551},{"id":832,"depth":1420,"text":833},{"id":1119,"depth":1420,"text":1120},{"id":1348,"depth":1413,"text":1349,"children":3670},[3671,3673,3675,3676,3678],{"id":1355,"depth":1420,"text":3672},"No persistent-bindings shorthand on log.*",{"id":1515,"depth":1420,"text":3674},"minLevel is set once at startup (global log.*)",{"id":1567,"depth":1420,"text":1568},{"id":1602,"depth":1420,"text":3677},"No multi-stream \u002F transport array on log.*",{"id":1619,"depth":1420,"text":1620},{"id":1639,"depth":1413,"text":1640},{"id":3598,"depth":1413,"text":3599},{"id":3628,"depth":1413,"text":3629},"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.","md",[3685,3688],{"label":3649,"icon":315,"to":427,"color":3686,"variant":3687},"neutral","subtle",{"label":41,"icon":44,"to":42,"color":3686,"variant":3687},{},{"title":439,"icon":442},{"title":449,"description":3682},"OgtopIsBGOAcJSl3BrtsGhX1WaOXIgUD73mIvlEDkuM",[3694,3696],{"title":435,"path":436,"stem":437,"description":3695,"icon":318,"children":-1},"Security guidelines, data sanitization, and production tips for evlog. Learn what not to log and how to protect sensitive data.",{"title":444,"path":445,"stem":446,"description":3697,"icon":352,"children":-1},"AI-assisted code review and evlog adoption using Agent Skills. Let AI review your logging patterns and guide migration to wide events.",1782924665849]