diff --git a/System/Error/LoggerAspect.php b/System/Error/LoggerAspect.php index e4c602a6..5393b594 100644 --- a/System/Error/LoggerAspect.php +++ b/System/Error/LoggerAspect.php @@ -41,8 +41,8 @@ class LoggerAspect implements IAspect */ private function print_runtime($handler, $startTime) { - $className = $handler::class; - $methodName = $handler; + $className = $handler[0]::class; + $methodName = $handler[1]; $runTime = round(microtime(true) - $startTime, 6); echo sprintf('run %s::%s use time %6f', $className, $methodName, $runTime);