* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfNoLogger is a noop logger. * * @package symfony * @subpackage log * @author Fabien Potencier * @version SVN: $Id: sfNoLogger.class.php 9081 2008-05-20 00:47:12Z Carl.Vondrick $ */ class sfNoLogger extends sfLogger { /** * Initializes this logger. * * @param sfEventDispatcher $dispatcher A sfEventDispatcher instance * @param array $options An array of options. * * @return Boolean true, if initialization completes successfully, otherwise false. */ public function initialize(sfEventDispatcher $dispatcher, $options = array()) { } /** * Logs a message. * * @param string $message Message * @param string $priority Message priority */ protected function doLog($message, $priority) { } }