From: Evan Prodromou Date: Mon, 17 Jan 2011 20:06:15 +0000 (-0500) Subject: add a log method to AccountMover X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=feb3ae4c092b947834598c7b024e243a9163267b;p=quix0rs-gnu-social.git add a log method to AccountMover --- diff --git a/lib/accountmover.php b/lib/accountmover.php index eefd0487d8..b9b910d070 100644 --- a/lib/accountmover.php +++ b/lib/accountmover.php @@ -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); + } }