util/LogWriter.php
\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
Methods


__construct(
$task, $level
=
Project::MSG_INFO
)
:
void
Constructs a new LogWriter object
Parameters
Name | Type | Description |
---|---|---|
$task | ||
$level |


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


getResource(
)
:
string
Returns a string representation of resource filename, url, etc. that is being written to.
Returns
Details
Type | Description |
---|---|
string |


write(
string $buf, int $off
=
null, int $len
=
null
)
:
void
Writes data to output stream.
Parameters
Details
Name | Type | Description |
---|---|---|
$buf | string | |
$off | int | |
$len | int |
- See
- \Writer::write()