13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Log |
16 * @package Zend_Log |
17 * @subpackage Formatter |
17 * @subpackage Formatter |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Firebug.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: Firebug.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 /** Zend_Log_Formatter_Interface */ |
23 /** Zend_Log_Formatter_Abstract */ |
24 require_once 'Zend/Log/Formatter/Interface.php'; |
24 require_once 'Zend/Log/Formatter/Abstract.php'; |
25 |
25 |
26 /** |
26 /** |
27 * @category Zend |
27 * @category Zend |
28 * @package Zend_Log |
28 * @package Zend_Log |
29 * @subpackage Formatter |
29 * @subpackage Formatter |
30 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
30 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @license http://framework.zend.com/license/new-bsd New BSD License |
31 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 */ |
32 */ |
33 class Zend_Log_Formatter_Firebug implements Zend_Log_Formatter_Interface |
33 class Zend_Log_Formatter_Firebug extends Zend_Log_Formatter_Abstract |
34 { |
34 { |
|
35 /** |
|
36 * Factory for Zend_Log_Formatter_Firebug classe |
|
37 * |
|
38 * @param array|Zend_Config $options useless |
|
39 * @return Zend_Log_Formatter_Firebug |
|
40 */ |
|
41 public static function factory($options) |
|
42 { |
|
43 return new self; |
|
44 } |
|
45 |
35 /** |
46 /** |
36 * This method formats the event for the firebug writer. |
47 * This method formats the event for the firebug writer. |
37 * |
48 * |
38 * The default is to just send the message parameter, but through |
49 * The default is to just send the message parameter, but through |
39 * extension of this class and calling the |
50 * extension of this class and calling the |