✏️ 编辑:sfNoLogger.class.php
路径:
/virtual/bigbrother/sns/lib/symfony/log/sfNoLogger.class.php
大小:1.07 KB · 修改:2010-08-11 06:11:37 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * 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 <fabien.potencier@symfony-project.com> * @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) { } }
💾 保存
取消
保存为 UTF-8,换行统一为 LF