[{"data":1,"prerenderedAt":1034},["ShallowReactive",2],{"navigation_docs":3,"-build-on-top-fs-reader":402,"-build-on-top-fs-reader-surround":1029},[4,35,159,201,289,299,386],{"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],{"title":295,"path":296,"stem":297,"icon":298},"FS reader","\u002Fbuild-on-top\u002Ffs-reader","5.build-on-top\u002F4.fs-reader","i-lucide-folder-search",{"title":300,"path":301,"stem":302,"children":303,"page":34},"Adapters","\u002Fadapters","6.adapters",[304,307,347,362],{"title":41,"path":305,"stem":306,"icon":44},"\u002Fadapters\u002Foverview","6.adapters\u002F01.overview",{"title":308,"path":309,"stem":310,"children":311,"page":34},"Cloud destinations","\u002Fadapters\u002Fcloud","6.adapters\u002F02.cloud",[312,317,322,327,332,337,342],{"title":313,"path":314,"stem":315,"icon":316},"Axiom","\u002Fadapters\u002Fcloud\u002Faxiom","6.adapters\u002F02.cloud\u002F01.axiom","i-custom-axiom",{"title":318,"path":319,"stem":320,"icon":321},"OTLP","\u002Fadapters\u002Fcloud\u002Fotlp","6.adapters\u002F02.cloud\u002F02.otlp","i-simple-icons-opentelemetry",{"title":323,"path":324,"stem":325,"icon":326},"PostHog","\u002Fadapters\u002Fcloud\u002Fposthog","6.adapters\u002F02.cloud\u002F03.posthog","i-simple-icons-posthog",{"title":328,"path":329,"stem":330,"icon":331},"Sentry","\u002Fadapters\u002Fcloud\u002Fsentry","6.adapters\u002F02.cloud\u002F04.sentry","i-simple-icons-sentry",{"title":333,"path":334,"stem":335,"icon":336},"Better Stack","\u002Fadapters\u002Fcloud\u002Fbetter-stack","6.adapters\u002F02.cloud\u002F05.better-stack","i-simple-icons-betterstack",{"title":338,"path":339,"stem":340,"icon":341},"Datadog","\u002Fadapters\u002Fcloud\u002Fdatadog","6.adapters\u002F02.cloud\u002F06.datadog","i-simple-icons-datadog",{"title":343,"path":344,"stem":345,"icon":346},"HyperDX","\u002Fadapters\u002Fcloud\u002Fhyperdx","6.adapters\u002F02.cloud\u002F07.hyperdx","i-custom-hyperdx",{"title":348,"path":349,"stem":350,"children":351,"page":34},"Self-hosted","\u002Fadapters\u002Fself-hosted","6.adapters\u002F03.self-hosted",[352,357],{"title":353,"path":354,"stem":355,"icon":356},"File System","\u002Fadapters\u002Fself-hosted\u002Ffs","6.adapters\u002F03.self-hosted\u002F01.fs","i-lucide-hard-drive",{"title":358,"path":359,"stem":360,"icon":361},"NuxtHub","\u002Fadapters\u002Fself-hosted\u002Fnuxthub","6.adapters\u002F03.self-hosted\u002F02.nuxthub","i-simple-icons-nuxt",{"title":363,"path":364,"stem":365,"children":366,"page":34},"Building blocks","\u002Fadapters\u002Fbuilding-blocks","6.adapters\u002F04.building-blocks",[367,372,377,381],{"title":368,"path":369,"stem":370,"icon":371},"Pipeline","\u002Fadapters\u002Fbuilding-blocks\u002Fpipeline","6.adapters\u002F04.building-blocks\u002F01.pipeline","i-lucide-workflow",{"title":373,"path":374,"stem":375,"icon":376},"HTTP","\u002Fadapters\u002Fbuilding-blocks\u002Fhttp","6.adapters\u002F04.building-blocks\u002F02.http","i-lucide-globe",{"title":378,"path":379,"stem":380,"icon":83},"Custom Adapters","\u002Fadapters\u002Fbuilding-blocks\u002Fcustom","6.adapters\u002F04.building-blocks\u002F03.custom",{"title":382,"path":383,"stem":384,"icon":385},"Toolkit","\u002Fadapters\u002Fbuilding-blocks\u002Ftoolkit","6.adapters\u002F04.building-blocks\u002F04.toolkit","i-lucide-blocks",{"title":387,"path":388,"stem":389,"children":390,"page":34},"Enrichers","\u002Fenrichers","7.enrichers",[391,394,398],{"title":41,"path":392,"stem":393,"icon":28},"\u002Fenrichers\u002Foverview","7.enrichers\u002F1.overview",{"title":395,"path":396,"stem":397,"icon":288},"Built-in","\u002Fenrichers\u002Fbuilt-in","7.enrichers\u002F2.built-in",{"title":399,"path":400,"stem":401,"icon":83},"Custom","\u002Fenrichers\u002Fcustom","7.enrichers\u002F3.custom",{"id":403,"title":404,"body":405,"description":1022,"extension":1023,"links":1024,"meta":1025,"navigation":1026,"path":296,"seo":1027,"stem":297,"__hash__":1028},"docs\u002F5.build-on-top\u002F4.fs-reader.md","Reading FS logs",{"type":406,"value":407,"toc":1013},"minimark",[408,431,436,604,610,614,719,722,726,896,906,910,969,979,983,1009],[409,410,411,412,416,417,421,422,425,426,430],"p",{},"The ",[413,414,415],"a",{"href":354},"filesystem drain"," writes wide events as NDJSON files in ",[418,419,420],"code",{},".evlog\u002Flogs\u002F"," (one file per day, optional rotation). The ",[418,423,424],{},"evlog\u002Ffs"," module also ships ",[427,428,429],"strong",{},"readers"," that let any Node tool replay or follow that history without hooking into the running app.",[432,433,435],"h2",{"id":434},"replay-history","Replay history",[437,438,443],"pre",{"className":439,"code":440,"language":441,"meta":442,"style":442},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { readFsLogs } from 'evlog\u002Ffs'\n\nfor await (const event of readFsLogs({ since: '2026-03-01', level: 'error' })) {\n  console.log(event.timestamp, event.action ?? event.message)\n}\n","ts","",[418,444,445,477,484,553,598],{"__ignoreMap":442},[446,447,450,454,458,462,465,468,471,474],"span",{"class":448,"line":449},"line",1,[446,451,453],{"class":452},"s7zQu","import",[446,455,457],{"class":456},"sMK4o"," {",[446,459,461],{"class":460},"sTEyZ"," readFsLogs",[446,463,464],{"class":456}," }",[446,466,467],{"class":452}," from",[446,469,470],{"class":456}," '",[446,472,424],{"class":473},"sfazB",[446,475,476],{"class":456},"'\n",[446,478,480],{"class":448,"line":479},2,[446,481,483],{"emptyLinePlaceholder":482},true,"\n",[446,485,487,490,493,496,500,503,506,509,512,515,519,522,524,527,530,533,536,538,540,543,545,547,550],{"class":448,"line":486},3,[446,488,489],{"class":452},"for",[446,491,492],{"class":452}," await",[446,494,495],{"class":460}," (",[446,497,499],{"class":498},"spNyl","const",[446,501,502],{"class":460}," event ",[446,504,505],{"class":456},"of",[446,507,461],{"class":508},"s2Zo4",[446,510,511],{"class":460},"(",[446,513,514],{"class":456},"{",[446,516,518],{"class":517},"swJcz"," since",[446,520,521],{"class":456},":",[446,523,470],{"class":456},[446,525,526],{"class":473},"2026-03-01",[446,528,529],{"class":456},"'",[446,531,532],{"class":456},",",[446,534,535],{"class":517}," level",[446,537,521],{"class":456},[446,539,470],{"class":456},[446,541,542],{"class":473},"error",[446,544,529],{"class":456},[446,546,464],{"class":456},[446,548,549],{"class":460},")) ",[446,551,552],{"class":456},"{\n",[446,554,556,559,562,565,567,570,572,575,577,580,582,585,588,590,592,595],{"class":448,"line":555},4,[446,557,558],{"class":460},"  console",[446,560,561],{"class":456},".",[446,563,564],{"class":508},"log",[446,566,511],{"class":517},[446,568,569],{"class":460},"event",[446,571,561],{"class":456},[446,573,574],{"class":460},"timestamp",[446,576,532],{"class":456},[446,578,579],{"class":460}," event",[446,581,561],{"class":456},[446,583,584],{"class":460},"action",[446,586,587],{"class":456}," ??",[446,589,579],{"class":460},[446,591,561],{"class":456},[446,593,594],{"class":460},"message",[446,596,597],{"class":517},")\n",[446,599,601],{"class":448,"line":600},5,[446,602,603],{"class":456},"}\n",[409,605,606,609],{},[418,607,608],{},"readFsLogs(options)"," walks the NDJSON files in chronological order, parses them line by line, and yields events that pass all filters. Files outside the date window are skipped entirely.",[611,612,85],"h3",{"id":613},"options",[615,616,617,633],"table",{},[618,619,620],"thead",{},[621,622,623,627,630],"tr",{},[624,625,626],"th",{},"Option",[624,628,629],{},"Type",[624,631,632],{},"Description",[634,635,636,655,673,689,704],"tbody",{},[621,637,638,644,649],{},[639,640,641],"td",{},[418,642,643],{},"dir",[639,645,646],{},[418,647,648],{},"string",[639,650,651,652,561],{},"Directory to read from. Default: ",[418,653,654],{},".evlog\u002Flogs",[621,656,657,662,667],{},[639,658,659],{},[418,660,661],{},"since",[639,663,664],{},[418,665,666],{},"Date | string",[639,668,669,670,561],{},"Yield events with ",[418,671,672],{},"timestamp >= since",[621,674,675,680,684],{},[639,676,677],{},[418,678,679],{},"until",[639,681,682],{},[418,683,666],{},[639,685,669,686,561],{},[418,687,688],{},"timestamp \u003C= until",[621,690,691,696,701],{},[639,692,693],{},[418,694,695],{},"level",[639,697,698],{},[418,699,700],{},"LogLevel | LogLevel[]",[639,702,703],{},"Filter by event level.",[621,705,706,711,716],{},[639,707,708],{},[418,709,710],{},"filter",[639,712,713],{},[418,714,715],{},"(event) => boolean",[639,717,718],{},"Custom predicate.",[409,720,721],{},"Malformed lines (partial writes, manual edits) are silently skipped — your script never crashes on a bad line.",[432,723,725],{"id":724},"live-tail","Live tail",[437,727,729],{"className":439,"code":728,"language":441,"meta":442,"style":442},"import { tailFsLogs } from 'evlog\u002Ffs'\n\nconst ac = new AbortController()\nprocess.on('SIGINT', () => ac.abort())\n\nfor await (const event of tailFsLogs({ signal: ac.signal })) {\n  console.log('live:', event.action ?? event.message)\n}\n",[418,730,731,750,754,773,811,815,855,891],{"__ignoreMap":442},[446,732,733,735,737,740,742,744,746,748],{"class":448,"line":449},[446,734,453],{"class":452},[446,736,457],{"class":456},[446,738,739],{"class":460}," tailFsLogs",[446,741,464],{"class":456},[446,743,467],{"class":452},[446,745,470],{"class":456},[446,747,424],{"class":473},[446,749,476],{"class":456},[446,751,752],{"class":448,"line":479},[446,753,483],{"emptyLinePlaceholder":482},[446,755,756,758,761,764,767,770],{"class":448,"line":486},[446,757,499],{"class":498},[446,759,760],{"class":460}," ac ",[446,762,763],{"class":456},"=",[446,765,766],{"class":456}," new",[446,768,769],{"class":508}," AbortController",[446,771,772],{"class":460},"()\n",[446,774,775,778,780,783,785,787,790,792,794,797,800,803,805,808],{"class":448,"line":555},[446,776,777],{"class":460},"process",[446,779,561],{"class":456},[446,781,782],{"class":508},"on",[446,784,511],{"class":460},[446,786,529],{"class":456},[446,788,789],{"class":473},"SIGINT",[446,791,529],{"class":456},[446,793,532],{"class":456},[446,795,796],{"class":456}," ()",[446,798,799],{"class":498}," =>",[446,801,802],{"class":460}," ac",[446,804,561],{"class":456},[446,806,807],{"class":508},"abort",[446,809,810],{"class":460},"())\n",[446,812,813],{"class":448,"line":600},[446,814,483],{"emptyLinePlaceholder":482},[446,816,818,820,822,824,826,828,830,832,834,836,839,841,843,845,848,851,853],{"class":448,"line":817},6,[446,819,489],{"class":452},[446,821,492],{"class":452},[446,823,495],{"class":460},[446,825,499],{"class":498},[446,827,502],{"class":460},[446,829,505],{"class":456},[446,831,739],{"class":508},[446,833,511],{"class":460},[446,835,514],{"class":456},[446,837,838],{"class":517}," signal",[446,840,521],{"class":456},[446,842,802],{"class":460},[446,844,561],{"class":456},[446,846,847],{"class":460},"signal ",[446,849,850],{"class":456},"}",[446,852,549],{"class":460},[446,854,552],{"class":456},[446,856,858,860,862,864,866,868,871,873,875,877,879,881,883,885,887,889],{"class":448,"line":857},7,[446,859,558],{"class":460},[446,861,561],{"class":456},[446,863,564],{"class":508},[446,865,511],{"class":517},[446,867,529],{"class":456},[446,869,870],{"class":473},"live:",[446,872,529],{"class":456},[446,874,532],{"class":456},[446,876,579],{"class":460},[446,878,561],{"class":456},[446,880,584],{"class":460},[446,882,587],{"class":456},[446,884,579],{"class":460},[446,886,561],{"class":456},[446,888,594],{"class":460},[446,890,597],{"class":517},[446,892,894],{"class":448,"line":893},8,[446,895,603],{"class":456},[409,897,898,901,902,905],{},[418,899,900],{},"tailFsLogs(options)"," first yields existing events (unless ",[418,903,904],{},"fromEnd: true","), then keeps yielding new ones as they're appended — including events written into newly created daily files. Partial writes split across polls are recombined transparently.",[611,907,909],{"id":908},"tail-specific-options","Tail-specific options",[615,911,912,922],{},[618,913,914],{},[621,915,916,918,920],{},[624,917,626],{},[624,919,629],{},[624,921,632],{},[634,923,924,939,954],{},[621,925,926,931,936],{},[639,927,928],{},[418,929,930],{},"pollIntervalMs",[639,932,933],{},[418,934,935],{},"number",[639,937,938],{},"Polling interval. Default: 500ms (minimum 50ms).",[621,940,941,946,951],{},[639,942,943],{},[418,944,945],{},"fromEnd",[639,947,948],{},[418,949,950],{},"boolean",[639,952,953],{},"Skip existing events; only yield future ones. Default: false.",[621,955,956,961,966],{},[639,957,958],{},[418,959,960],{},"signal",[639,962,963],{},[418,964,965],{},"AbortSignal",[639,967,968],{},"Stop tailing when aborted.",[409,970,971,972,978],{},"All ",[413,973,975],{"href":974},"#options",[418,976,977],{},"readFsLogs"," options also apply.",[432,980,982],{"id":981},"use-cases","Use cases",[984,985,986,993,996,1006],"ul",{},[987,988,989,990,992],"li",{},"A local Electron \u002F Tauri dashboard reading ",[418,991,420],{}," from a target project directory.",[987,994,995],{},"A CI report aggregator that scans logs after a test run.",[987,997,998,999,1002,1003,561],{},"A ",[418,1000,1001],{},"grep","-style CLI that pipes filtered events into ",[418,1004,1005],{},"jq",[987,1007,1008],{},"Replaying historic events into a dashboard before switching to a live in-process subscription.",[1010,1011,1012],"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 .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);}",{"title":442,"searchDepth":479,"depth":479,"links":1014},[1015,1018,1021],{"id":434,"depth":479,"text":435,"children":1016},[1017],{"id":613,"depth":486,"text":85},{"id":724,"depth":479,"text":725,"children":1019},[1020],{"id":908,"depth":486,"text":909},{"id":981,"depth":479,"text":982},"Replay and tail the local NDJSON drain with readFsLogs and tailFsLogs — works in-process or from any external Node tool.","md",null,{},{"title":295,"icon":298},{"title":404,"description":1022},"KupzQAD4M93U6RKljXz0n6r-lyPGDGVxa5uaZVAJmxA",[1030,1032],{"title":285,"path":286,"stem":287,"description":1031,"icon":288,"children":-1},"Build your own evlog framework integration using the toolkit API — defineFrameworkIntegration, createMiddlewareLogger, AsyncLocalStorage, and the full drain\u002Fenrich\u002Fkeep pipeline.",{"title":41,"path":305,"stem":306,"description":1033,"icon":44,"children":-1},"Send your logs to external services with evlog adapters. Built-in support for popular observability platforms and custom destinations.",1778325963264]