function core_loginOK($auth) { if (function_exists('appsLog')) { appsLog('login'); } }
function log($to, $from, $subject) { if (function_exists('appsLog')) { // declared in functions.php appsLog('mail', "to={$to} from={$from} subject={$subject}", $this->object->ID); } }