1)修正notice 的拼写错误;2)英文的":"后面加了个空格;3)补全Log::send() 注释;4)删除Error.php 里重复的 key;5)添加 File Log 测试用例

This commit is contained in:
jinchun
2016-02-02 20:02:37 +08:00
parent 8ed7c91b29
commit 927c075f29
7 changed files with 49 additions and 18 deletions

View File

@@ -71,7 +71,7 @@ class Loader
APP_DEBUG && self::$load[] = $filename;
include $filename;
} else {
Log::record('autoloader error : ' . $filename, 'notic');
Log::record('autoloader error : ' . $filename, 'notice');
}
}
}
@@ -294,7 +294,7 @@ class Loader
if (class_exists($class)) {
$model = new $class($name);
} else {
Log::record('实例化不存在的类:' . $class, 'notic');
Log::record('实例化不存在的类:' . $class, 'notice');
$model = new Model($name);
}
}