LogWriter

Extends \Writer

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

author

Michiel Rook mrook@php.net

version

$Id: ccb6c8b930bb3f293074969323467edeaf40bd02 $

package

phing.util

Methods

Constructs a new LogWriter object

__construct(\Task $task, $level = \Project::MSG_INFO) 

Arguments

$task

\Task

$level

Writes data to output stream.

write(string $buf, int $off = null, int $len = null) 
inherited abstract

Arguments

$buf

string

$off

int

$len

int

reset

reset() 
see \Writer::reset()

Close the stream.

close() 
inherited abstract
throws
  • if there is an error closing stream.

open

open() 
see \Writer::open()

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

getResource() : string
inherited abstract

Response

string

Flush the stream, if supported by the stream.

flush() 
inherited

Properties

task

task : 

level

level :