Closed stevejohn82 closed 7 years ago
I am getting error by using this code <?php require_once('vendor/autoload.php');
$parser = new \Kassner\LogParser\LogParser();
$lines = file('error.log.6', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($lines as $line) { $entry = $parser->parse($line); } echo $entry;
Error: "Uncaught exception 'Kassner\LogParser\FormatException' with message '2017-08-01T11:15:26.406692Z 0 [Note] Giving 0 client threads a chance to die gracefully' in /opt/lampp/htdocs/flat-ui-login/vendor/kassner/log-parser/src/Kassner/LogParser/LogParser.php:102 Stack trace: #"
I want a web application like PIMP , and use your gut repository to parse my log files, please guide me how to use it, or provide some manual or instructions