mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
1)修正notice 的拼写错误;2)英文的":"后面加了个空格;3)补全Log::send() 注释;4)删除Error.php 里重复的 key;5)添加 File Log 测试用例
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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' => '',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user