add a log method to AccountMover

This commit is contained in:
Evan Prodromou 2011-01-17 15:06:15 -05:00
parent b11426dbf4
commit feb3ae4c09

View File

@ -170,4 +170,20 @@ class AccountMover
break;
}
}
/**
* Log some data
*
* Add a header for our class so we know who did it.
*
* @param int $level Log level, like LOG_ERR or LOG_INFO
* @param string $message Message to log
*
* @return void
*/
protected function log($level, $message)
{
common_log($level, "AccountMover: " . $message);
}
}