芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-debug/src/views/default/panels/log/summary.php
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'); } ?>
Log
= count($data['messages']) ?>
= $errorCount ?>
= $warningCount ?>