简化slog类

This commit is contained in:
thinkphp
2015-12-08 12:49:26 +08:00
parent a679f878df
commit 64348512ef
5 changed files with 59 additions and 134 deletions

View File

@@ -70,6 +70,7 @@ class Error
{
// 记录日志
Log::save();
\org\Slog::sendLog();
if ($e = error_get_last()) {
switch ($e['type']) {
case E_ERROR: