mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(log): 新增 DebugLogReader 增量读服务(JSONL 按行 + CSV fgetcsv 多行安全)
This commit is contained in:
20
app/common/service/DebugLogReaderService.php
Normal file
20
app/common/service/DebugLogReaderService.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\common\service;
|
||||
|
||||
use base\common\service\DebugLogReaderServiceBase;
|
||||
|
||||
/**
|
||||
* debug 日志增量读取 service(App 入口类).
|
||||
*
|
||||
* JSONL({Ymd}.jsonl)与遗留 CSV({ymd}.csv)导入链路(T6 定时任务)经本类
|
||||
* 入口实例化(依赖倒置:调用方直接调本类,不调 Base)。
|
||||
*
|
||||
* 业务侧如需定制读取行为(如加自定义行过滤、改失败样本策略、换 position
|
||||
* 落盘目标等),重写本类对应方法即可拦截,无需改动 extend/base/。
|
||||
*/
|
||||
class DebugLogReaderService extends DebugLogReaderServiceBase
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user