Translations:Developers/Object oriented programming in PHP/Classes/31/en

/**  * Writes a message to the configured log facility. *  * @param string $message Message text that should be written to the log facility * @param integer $priority Priority of the message for filtering * @param string $facility Facility for logging different types of messages (e.g. message, auth, user, changelog) * @throws MW_Logger_Exception If an error occurs in Zend_Log * @see MW_Logger_Abstract for available log level constants */ public function log( $message, $priority = MW_Logger_Abstract::ERR, $facility = 'message' ) {   // [...]  } }