活动日志监控log-monitor.zip

时间:2022-08-05 23:28:15
【文件属性】:
文件名称:活动日志监控log-monitor.zip
文件大小:16KB
文件格式:ZIP
更新时间:2022-08-05 23:28:15
开源项目 log-monitor 基于tail命令一个活动日志监控。使用示例:Just remember that when you call the start method, do not forget to call wait method. $reader = new \Jenner\LogMonitor\Reader\Reader('/var/log/messages'); $filter = new Jenner\LogMonitor\Filter\ExceptionFilter(); $notify = new \Jenner\LogMonitor\Notification\EchoNotification(); $process = new \Jenner\LogMonitor\MonitorTask($reader, $filter, $notify); $process->run(); $process->wait(); 标签:logmonitor
【文件预览】:
log-monitor-master
----composer.json(571B)
----.travis.yml(324B)
----phpunit.xml(182B)
----.scrutinizer.yml(613B)
----tests()
--------Reader()
--------reader.php(351B)
----LICENSE(1KB)
----src()
--------Factory()
--------Filter()
--------Notification()
--------Reader()
--------MonitorTask.php(2KB)
--------ConfigurableInterface.php(265B)
--------Monitor.php(1KB)
----examples()
--------simple_monitor.php(452B)
--------simple.php(399B)
----.gitignore(73B)
----README.md(4KB)

网友评论