/// @TODO round() really everywhere?
Logger::debug(
- 'API {action} performance',
+ API_LOG_PREFIX . 'performance',
[
'module' => 'api',
'action' => 'call',
$o .= $func . ": " . $time . "\n";
}
}
- Logger::debug($o, ['module' => 'api', 'action' => 'call']);
+ Logger::debug(API_LOG_PREFIX . $o, ['module' => 'api', 'action' => 'call']);
}
}
'sec' => $sec, 'expire' => time() + 45];
DBA::insert('profile_check', $fields);
- $a = get_app();
Logger::info(API_LOG_PREFIX . 'for contact {contact}', ['module' => 'api', 'action' => 'friendica_remoteauth', 'contact' => $contact['name'], 'hey' => $sec]);
$dest = ($url ? '&destination_url=' . $url : '');