mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(nginx-log): NginxLogReader 增量读取 service(Base/App 双层,含轮转检测)
This commit is contained in:
18
app/common/service/NginxLogReader.php
Normal file
18
app/common/service/NginxLogReader.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\service;
|
||||
|
||||
use base\common\service\NginxLogReaderBase;
|
||||
|
||||
/**
|
||||
* Nginx 日志增量读取 service(App 入口类).
|
||||
*
|
||||
* 框架内部所有调用走本类(依赖倒置):
|
||||
* `new \app\common\service\NginxLogReader()` 或静态上下文,
|
||||
* 业务侧如需定制读取逻辑,重写本类对应方法即可拦截。
|
||||
*
|
||||
* 全部逻辑由 NginxLogReaderBase 提供,本类默认仅继承不修改。
|
||||
*/
|
||||
class NginxLogReader extends NginxLogReaderBase
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user