8ae7da52591310fc0dd05c3ff1c1933535bc68db
Add LogFileInterface::getPath(): ?string so detectors can dispatch on a filename hint when the original path is known. Default implementation on the abstract LogFile base returns null; PathLogFile records its constructor argument. StringLogFile and StreamLogFile inherit the null default. Tests cover both the path and null-fallback cases.
IndifferentKetchup Codex
A generic PHP log parsing and analysis framework. Provides interfaces and base implementations for reading log files, detecting log types, parsing entries into structured form, analysing them for problems and information, and printing results.
Installation
composer require indifferentketchup/codex
Source
https://git.indifferentketchup.com/indifferentketchup/ik-codex
Languages
PHP
79.3%
Python
20.4%
Shell
0.3%