feat(log): 新增 DebugLogReader 增量读服务(JSONL 按行 + CSV fgetcsv 多行安全)

This commit is contained in:
augushong
2026-08-16 08:17:52 +08:00
parent 4d8cfc8844
commit c0cae93562
3 changed files with 859 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace app\common\service;
use base\common\service\DebugLogReaderServiceBase;
/**
* debug 日志增量读取 serviceApp 入口类).
*
* JSONL{Ymd}.jsonl与遗留 CSV{ymd}.csv导入链路T6 定时任务)经本类
* 入口实例化(依赖倒置:调用方直接调本类,不调 Base
*
* 业务侧如需定制读取行为(如加自定义行过滤、改失败样本策略、换 position
* 落盘目标等),重写本类对应方法即可拦截,无需改动 extend/base/。
*/
class DebugLogReaderService extends DebugLogReaderServiceBase
{
}