slog移动到核心think包 将来进一步改进

This commit is contained in:
thinkphp
2015-12-10 15:23:24 +08:00
parent 7b0fe7286d
commit 159d425cd0
6 changed files with 7 additions and 568 deletions

View File

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