Changeset 11158
- Timestamp:
- 08/26/08 14:39:10 (5 years ago)
- Files:
-
- plugins/sfFirePHPLoggerPlugin/trunk/CHANGELOG (modified) (1 diff)
- plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/FirePHP-CHANGELOG (moved) (moved from plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/CHANGELOG)
- plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/FirePHP-LICENCE (moved) (moved from plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/LICENSE)
- plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/FirePHP-README (moved) (moved from plugins/sfFirePHPLoggerPlugin/trunk/lib/FirePHPCore/README)
- plugins/sfFirePHPLoggerPlugin/trunk/lib/sfFirePHPLogger.class.php (modified) (7 diffs)
- plugins/sfFirePHPLoggerPlugin/trunk/package.xml (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfFirePHPLoggerPlugin/trunk/CHANGELOG
r10617 r11158 1 0.4.2 2 - Fixed Readme displaying on symfony website and pear conventions. 3 1 4 0.4.1 2 5 - Updated addon structure plugins/sfFirePHPLoggerPlugin/trunk/lib/sfFirePHPLogger.class.php
r10617 r11158 2 2 3 3 /* ***** BEGIN LICENSE BLOCK ***** 4 * 4 * 5 5 * This file is part of sfFirePHPLoggerPlugin. 6 * 6 * 7 7 * Software License Agreement (New BSD License) 8 * 8 * 9 9 * Copyright (c) 2006-2008, Christoph Dorn 10 10 * All rights reserved. 11 * 11 * 12 12 * Redistribution and use in source and binary forms, with or without modification, 13 13 * are permitted provided that the following conditions are met: 14 * 14 * 15 15 * * Redistributions of source code must retain the above copyright notice, 16 16 * this list of conditions and the following disclaimer. 17 * 17 * 18 18 * * Redistributions in binary form must reproduce the above copyright notice, 19 19 * this list of conditions and the following disclaimer in the documentation 20 20 * and/or other materials provided with the distribution. 21 * 21 * 22 22 * * Neither the name of Christoph Dorn nor the names of its 23 23 * contributors may be used to endorse or promote products derived from this 24 24 * software without specific prior written permission. 25 * 25 * 26 26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 27 27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED … … 34 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 35 35 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 36 * 37 37 * ***** END LICENSE BLOCK ***** */ 38 38 39 39 /* 40 40 * $Date$ … … 42 42 * $Rev$ 43 43 */ 44 44 45 45 /** 46 46 * Pluggin that integrate the FirePHP firexof extension to the symfony framework. 47 * 47 * 48 48 * @copyright Copyright (C) 2008-2008 Courbon Thomas 49 49 * @author Courbon Thomas <thomas@cafeaumiel.com> http://blog.cafeaumiel.com … … 53 53 class sfFirePHPLogger extends sfLogger 54 54 { 55 protected 55 protected 56 56 $FirePHP = null; 57 57 58 58 /* 59 59 * Constructor that load the FirePHP class 60 * 61 * Options : 62 * load_function: 63 * type: boolean 64 * default: false 65 * description: if true will attempt to load the fb function. 60 66 */ 61 67 public function __construct(sfEventDispatcher $dispatcher, $options = array()) … … 63 69 parent::__construct($dispatcher, $options); 64 70 $this->FirePHP = FirePHP::getInstance(true); 65 71 66 72 if (!is_callable('fb') && isset($options['load_function']) && $options['load_function']) 67 73 require(dirname(__FILE__).DIRECTORY_SEPARATOR.'FirePHPCore'.DIRECTORY_SEPARATOR.'fb.php'); 68 74 } 69 75 70 76 /* 71 77 * Accessor for the FirePHP instance. … … 75 81 return $this->FirePHP; 76 82 } 77 83 78 84 /** 79 85 * Logs a message. … … 88 94 * sfLogger::INFO => FirePHP::INFO; 89 95 * sfLogger::DEBUG => FirePHP::LOG; 90 * 96 * 91 97 * @param string $message Message 92 98 * @param string $priority Message priority plugins/sfFirePHPLoggerPlugin/trunk/package.xml
r10617 r11158 1 1 <?xml version="1.0" encoding="ISO-8859-1" ?> 2 <package version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">2 <package packagerversion="1.4.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 3 3 <name>sfFirePHPLoggerPlugin</name> 4 4 <channel>plugins.symfony-project.org</channel> … … 14 14 </lead> 15 15 <date>2008-08-02</date> 16 <time>14:30:00</time>17 16 <version> 18 <release>0.4. 1</release>17 <release>0.4.2</release> 19 18 <api>0.4.0</api> 20 19 </version> … … 23 22 <api>stable</api> 24 23 </stability> 25 <license>BSD License</license> 26 <notes>This version bring the pear package compatibility.</notes> 24 <license> 25 Software License Agreement (New BSD License) 26 27 Copyright (c) 2006-2008, Courbon Thomas 28 All rights reserved. 29 30 Redistribution and use in source and binary forms, with or without modification, 31 are permitted provided that the following conditions are met: 32 33 * Redistributions of source code must retain the above copyright notice, 34 this list of conditions and the following disclaimer. 35 36 * Redistributions in binary form must reproduce the above copyright notice, 37 this list of conditions and the following disclaimer in the documentation 38 and/or other materials provided with the distribution. 39 40 * Neither the name of Courbon Thomas nor the names of its 41 contributors may be used to endorse or promote products derived from this 42 software without specific prior written permission. 43 44 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 45 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 46 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 47 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 48 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 49 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 50 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 51 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 53 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 </license> 55 <notes>-</notes> 27 56 <contents> 28 57 <dir name="/"> … … 35 64 <file role="php" name="fb.php" /> 36 65 <file role="php" name="FirePHP.class.php" /> 37 <file role="data" name=" README" />38 <file role="data" name=" LICENSE" />39 <file role="data" name=" CHANGELOG" />66 <file role="data" name="FirePHP-README" /> 67 <file role="data" name="FirePHP-LICENSE" /> 68 <file role="data" name="FirePHP-CHANGELOG" /> 40 69 </dir> 41 70 </dir> … … 59 88 </required> 60 89 </dependencies> 61 <phprelease/> 62 <changelog/> 90 <phprelease> 91 </phprelease> 92 <changelog> 93 <release> 94 <version> 95 <release>0.4.0</release> 96 <api>0.4.0</api> 97 </version> 98 <stability> 99 <release>stable</release> 100 <api>stable</api> 101 </stability> 102 <license>BSD license</license> 103 <date>2008-08-03</date> 104 <notes> 105 Updated to FirePHP library version 0.1.2 106 </notes> 107 </release> 108 <release> 109 <version> 110 <release>0.3.0</release> 111 <api>0.2.0</api> 112 </version> 113 <stability> 114 <release>stable</release> 115 <api>stable</api> 116 </stability> 117 <license>BSD license</license> 118 <date>2008-08-02</date> 119 <notes> 120 Update to match the PEAR package conventions 121 </notes> 122 </release> 123 <release> 124 <version> 125 <release>0.2.0</release> 126 <api>0.2.0</api> 127 </version> 128 <stability> 129 <release>stable</release> 130 <api>stable</api> 131 </stability> 132 <license>BSD license</license> 133 <date>2008-08-02</date> 134 <notes> 135 First public version 136 </notes> 137 </release> 138 </changelog> 63 139 </package>