[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/listener/ -> XmlLogger.php (sommaire)

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see <http://phing.info>.

Poids: 265 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

XmlLogger:: (9 méthodes):
  __construct()
  buildStarted()
  buildFinished()
  targetStarted()
  targetFinished()
  taskStarted()
  taskFinished()
  messageLogged()
  setMessageOutputLevel()


Classe: XmlLogger  - X-Ref

Generates a file in the current directory with
an XML description of what happened during a build.
The default filename is "log.xml", but this can be overridden
with the property <code>XmlLogger.file</code>.

__construct()   X-Ref
Constructs a new BuildListener that logs build events to an XML file.


buildStarted(BuildEvent $event)   X-Ref
Fired when the build starts, this builds the top-level element for the
document and remembers the time of the start of the build.

param: BuildEvent Ignored.

buildFinished(BuildEvent $event)   X-Ref
Fired when the build finishes, this adds the time taken and any
error stacktrace to the build element and writes the document to disk.

param: BuildEvent An event with any relevant extra information.

targetStarted(BuildEvent $event)   X-Ref
Fired when a target starts building, remembers the current time and the name of the target.

param: BuildEvent An event with any relevant extra information.

targetFinished(BuildEvent $event)   X-Ref
Fired when a target finishes building, this adds the time taken
to the appropriate target element in the log.

param: BuildEvent An event with any relevant extra information.

taskStarted(BuildEvent $event)   X-Ref
Fired when a task starts building, remembers the current time and the name of the task.

param: BuildEvent An event with any relevant extra information.

taskFinished(BuildEvent $event)   X-Ref
Fired when a task finishes building, this adds the time taken
to the appropriate task element in the log.

param: BuildEvent An event with any relevant extra information.

messageLogged(BuildEvent $event)   X-Ref
Fired when a message is logged, this adds a message element to the
most appropriate parent element (task, target or build) and records
the priority and text of the message.

param: BuildEvent An event with any relevant extra information.

setMessageOutputLevel($level)   X-Ref
Set the logging level when using this as a Logger




Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7