Skip to content

Commit

Permalink
Merge pull request ARCANEDEV#262 from VladimirVKHS/log_parser_fix
Browse files Browse the repository at this point in the history
bugfix determine the level of the log record
  • Loading branch information
arcanedev-maroc authored Mar 28, 2019
2 parents fb9d1ac + 7a27e23 commit 7323390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/LogParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ private static function populateEntries($heading, $data, $key)
*/
private static function hasLogLevel($heading, $level)
{
return Str::contains(strtolower($heading), strtolower('.' . $level));
return Str::contains($heading, strtoupper(".{$level}:"));
}
}

0 comments on commit 7323390

Please sign in to comment.