app->logger->getByLine((int) $this->request->getData('id') ?? 1); $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(); ?>
| = $this->getHtml('ID', 0, 0); ?> | = $this->printHtml((int) $this->request->getData('id') ?? 0); ?> | |
| = $this->getHtml('Time') ?> | = $this->printHtml($log['datetime']); ?> | |
| = $this->getHtml('Uri') ?> | = $this->printHtml($log['path']); ?> | |
| = $this->getHtml('Source') ?> | = $this->printHtml($log['ip']); ?> | |
| = $this->getHtml('Level') ?> | = $this->printHtml($log['level']); ?> | |
| = $this->getHtml('Message') ?> | = $this->printHtml($log['message']); ?> | |
| = $this->getHtml('File') ?> | = $this->printHtml($log['file']); ?> | |
| = $this->getHtml('Line') ?> | = $this->printHtml($log['line']); ?> | |
| = $this->getHtml('Version') ?> | = $this->printHtml($log['version']); ?> | |
| = $this->getHtml('OS') ?> | = $this->printHtml($log['os']); ?> | |
| = $this->getHtml('Backtrace') ?> | ||
= $this->printHtml(json_encode($log['backtrace'], JSON_PRETTY_PRINT)); ?> | ||
| = $this->getHtml('Report') ?> | ||