From cb3278b725028594591bff845f266e2f6ed9c836 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 13 Oct 2016 11:53:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E6=96=B9=E6=B3=95=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/think/App.php b/library/think/App.php index 7e140ca9..67aac096 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -225,7 +225,7 @@ class App } $args = self::bindParams($reflect, $vars); - self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info'); + self::$debug && Log::record('[ RUN ] ' . $reflect->class . '->' . $reflect->name . '[ ' . $reflect->getFileName() . ' ]', 'info'); return $reflect->invokeArgs(isset($class) ? $class : null, $args); } @@ -245,8 +245,6 @@ class App } else { $args = []; } - - self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info'); return $reflect->newInstanceArgs($args); }