diff --git a/src/Helpers/LogParser.php b/src/Helpers/LogParser.php index 0d29f2a7..5c07b2ea 100644 --- a/src/Helpers/LogParser.php +++ b/src/Helpers/LogParser.php @@ -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}:")); } }