Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/*
4
 * This file is part of the symfony package.
5
 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
 
11
/**
12
 * sfNoLogger is a noop logger.
13
 *
14
 * @package    symfony
15
 * @subpackage log
16
 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
17
 * @version    SVN: $Id: sfNoLogger.class.php 9081 2008-05-20 00:47:12Z Carl.Vondrick $
18
 */
19
class sfNoLogger extends sfLogger
20
{
21
  /**
22
   * Initializes this logger.
23
   *
24
   * @param  sfEventDispatcher $dispatcher  A sfEventDispatcher instance
25
   * @param  array             $options     An array of options.
26
   *
27
   * @return Boolean      true, if initialization completes successfully, otherwise false.
28
   */
29
  public function initialize(sfEventDispatcher $dispatcher, $options = array())
30
  {
31
  }
32
 
33
  /**
34
   * Logs a message.
35
   *
36
   * @param string $message   Message
37
   * @param string $priority  Message priority
38
   */
39
  protected function doLog($message, $priority)
40
  {
41
  }
42
}