Refactored DependencyFactory for Profiler
This commit is contained in:
@@ -326,7 +326,7 @@ function api_call(App $a)
|
||||
|
||||
Logger::info(API_LOG_PREFIX . 'username {username}', ['module' => 'api', 'action' => 'call', 'username' => $a->user['username'], 'duration' => round($duration, 2)]);
|
||||
|
||||
$a->getProfiler()->saveLog(API_LOG_PREFIX . 'performance');
|
||||
$a->getProfiler()->saveLog($a->getLogger(), API_LOG_PREFIX . 'performance');
|
||||
|
||||
if (false === $return) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user