diff --git a/Theme/backend/monitoring-logs-single.tpl.php b/Theme/backend/monitoring-logs-single.tpl.php index f680aa4..3c451ec 100644 --- a/Theme/backend/monitoring-logs-single.tpl.php +++ b/Theme/backend/monitoring-logs-single.tpl.php @@ -21,6 +21,15 @@ $log = $this->app->logger->getByLine((int) $this->request->getData( $temp = trim($log['backtrace']); $log['backtrace'] = json_decode($temp, true); +$details = '* Uri: `' . trim($log['path']) . "`\n" + . '* Level: `' . trim($log['level']) . "`\n" + . '* Message: `' . trim($log['message']) . "`\n" + . '* File: `' . trim($log['file']) . "`\n" + . '* Line: `' . trim($log['line']) . "`\n" + . '* Version: `' . trim($log['version']) . "`\n" + . '* OS: `' . trim($log['os']) . "`\n\n" + . "Backtrace: \n\n```\n" . json_encode($log['backtrace'], JSON_PRETTY_PRINT); + echo $this->getData('nav')->render(); ?>
@@ -36,13 +45,18 @@ echo $this->getData('nav')->render(); ?> l11n->lang['Monitoring']['Time']; ?> + + l11n->lang['Monitoring']['Uri']; ?> + + l11n->lang['Monitoring']['Source']; ?> l11n->lang['Monitoring']['Level']; ?> - + + l11n->lang['Monitoring']['Message']; ?> @@ -69,6 +83,9 @@ echo $this->getData('nav')->render(); ?>
+ + l11n->lang['Monitoring']['Report']; ?>
diff --git a/Theme/backend/monitoring-logs.tpl.php b/Theme/backend/monitoring-logs.tpl.php index a29eae9..75170c3 100644 --- a/Theme/backend/monitoring-logs.tpl.php +++ b/Theme/backend/monitoring-logs.tpl.php @@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?> > > > - > + > diff --git a/Theme/lang/backend.en.lang.php b/Theme/lang/backend.en.lang.php index a9a597a..3f6d03a 100644 --- a/Theme/lang/backend.en.lang.php +++ b/Theme/lang/backend.en.lang.php @@ -42,11 +42,13 @@ $MODLANG['Monitoring'] = [ 'Penetrators' => 'Penetrators', 'RAMUsage' => 'RAM Usage', 'Release' => 'Release', + 'Report' => 'Report', 'Source' => 'Source', 'SystemRAM' => 'System RAM', 'Theme' => 'Theme', 'Time' => 'Time', 'Timestamp' => 'Timestamp', + 'Uri' => 'Uri', 'Version' => 'Version', 'Warnings' => 'Warnings', ];