notic修正

This commit is contained in:
thinkphp
2016-02-02 21:41:38 +08:00
parent 8ed7c91b29
commit c0e8c95237
5 changed files with 12 additions and 12 deletions

View File

@@ -94,7 +94,7 @@ class Socket
];
foreach ($logs as &$log) {
if (in_array($log['type'], ['sql', 'notic', 'debug', 'info'])) {
if (in_array($log['type'], ['sql', 'notice', 'debug', 'info'])) {
$log['type'] = 'log';
}
}

View File

@@ -15,7 +15,7 @@ namespace think\log\driver;
*/
class Trace
{
protected $tabs = ['base' => '基本', 'file' => '文件', 'info' => '流程', 'notic|error' => '错误', 'sql' => 'SQL', 'debug|log' => '调试'];
protected $tabs = ['base' => '基本', 'file' => '文件', 'info' => '流程', 'notice|error' => '错误', 'sql' => 'SQL', 'debug|log' => '调试'];
protected $config = [
'trace_file' => '',
];