Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Aug 27, 2024
1 parent b966fc3 commit a3b7b69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/logalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public function getPatterns(string $logLevel, string $type) {
if ($this->system_pattern == null) {
$this->loadPatterns();
}
print_r($this->system_pattern);
if ($logLevel === 'all') {
return $this->system_pattern['result'];
} else {
Expand All @@ -246,7 +247,7 @@ public function getPatterns(string $logLevel, string $type) {
*/
public function loadPatterns() {
$patterns = $this->system->getLogalyzerPatterns();
print_r($patterns);
#print_r($patterns);
if (isset($patterns) && $patterns == null) {
$this->system_pattern = json_decode($patterns, true);
}
Expand Down

0 comments on commit a3b7b69

Please sign in to comment.