Skip to content

Commit

Permalink
Update LogParser.php
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc authored Mar 19, 2019
1 parent 9a90eb9 commit 7a27e23
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 7a27e23

Please sign in to comment.