Log function
implement log() function.
This commit is contained in:
parent
d6d593d724
commit
14fde5dc9b
122 changed files with 1280 additions and 1161 deletions
|
|
@ -13,6 +13,7 @@ use Friendica\Content\Text\Markdown;
|
|||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Theme;
|
||||
use Friendica\Core\Worker;
|
||||
|
|
@ -910,7 +911,7 @@ function admin_page_summary(App $a)
|
|||
$users+= $u['count'];
|
||||
}
|
||||
|
||||
logger('accounts: ' . print_r($accounts, true), LOGGER_DATA);
|
||||
Logger::log('accounts: ' . print_r($accounts, true), LOGGER_DATA);
|
||||
|
||||
$pending = Register::getPendingCount();
|
||||
|
||||
|
|
@ -2499,7 +2500,7 @@ function admin_page_features_post(App $a)
|
|||
{
|
||||
BaseModule::checkFormSecurityTokenRedirectOnError('/admin/features', 'admin_manage_features');
|
||||
|
||||
logger('postvars: ' . print_r($_POST, true), LOGGER_DATA);
|
||||
Logger::log('postvars: ' . print_r($_POST, true), LOGGER_DATA);
|
||||
|
||||
$features = Feature::get(false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue