Skip to content

Commit

Permalink
fix: web logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-devfront committed Jan 15, 2025
1 parent 94a379f commit aec25d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/Log/WebLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,9 @@ public function log($level, string $message, array $context = []): void
$log = $this->formatLog($level, $message);

$this->normalMessages[] = $log;

if ($level > self::ERROR) {
$this->severeMessages[] = $log;
}
}
}

0 comments on commit aec25d8

Please sign in to comment.