Skip to content

Commit

Permalink
bugfix determine the level of the log record
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirVKHS committed Mar 14, 2019
1 parent d6807e5 commit 9a90eb9
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(strtolower($heading), strtolower('.' . $level . ':'));
}
}

0 comments on commit 9a90eb9

Please sign in to comment.