util/LogWriter.php

Show: inherited
Table of Contents

\LogWriter

Package: phing\util

Extends the Writer class to output messages to Phing's log

Parent(s)
\Writer
Author
Michiel Rook  
Version
$Id: ccb6c8b930bb3f293074969323467edeaf40bd02 $  

Properties

Propertyprivate  $level= 'NULL'
Default valueNULLDetails
Type
n/a
Propertyprivate  $task= 'NULL'
Default valueNULLDetails
Type
n/a

Methods

methodpublic__construct(  $task,  $level = Project::MSG_INFO ) : void

Constructs a new LogWriter object

Parameters
Name Type Description
$task
$level
methodpublicclose( ) : void

Close the stream.

Throws
Exception Description
\IOException - if there is an error closing stream.
Details
See
\Writer::close()  
methodpublicflush( ) : void
inherited

Flush the stream, if supported by the stream.

Inherited from: \Writer::flush()
methodpublicgetResource( ) : string

Returns a string representation of resource filename, url, etc. that is being written to.

Returns
Type Description
string
Details
See
\Writer::getResource()  
methodpublicopen( ) : void

Details
See
\Writer::open()  
methodpublicreset( ) : void

Details
See
\Writer::reset()  
methodpublicwrite( string $buf, int $off = null, int $len = null ) : void

Writes data to output stream.

Parameters
Name Type Description
$buf string
$off int
$len int
Details
See
\Writer::write()  
Documentation was generated by DocBlox 0.18.1.