mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Refactor dynamic App::getLogger() to static DI::logger()
This commit is contained in:
parent
fceb4f3823
commit
e2b2778e0a
9 changed files with 11 additions and 22 deletions
|
@ -328,7 +328,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($a->getLogger(), API_LOG_PREFIX . 'performance');
|
||||
$a->getProfiler()->saveLog(DI::logger(), API_LOG_PREFIX . 'performance');
|
||||
|
||||
if (false === $return) {
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue