listener/StreamRequiredBuildLogger.php
Interface for build loggers that require that out/err streams be set in order to function.
This is just an empty sub-interface to BuildLogger, but is used by Phing to throw graceful errors when classes like phing.listener.DefaultLogger are being used as -listener.
- Author
- Hans Lellelid
- Package
- phing
- See
- \BuildEvent
- See
- \Project::addBuildListener()
- Version
- $Revision: 526 $
\StreamRequiredBuildLogger
Interface for build loggers that require that out/err streams be set in order to function.
This is just an empty sub-interface to BuildLogger, but is used by Phing to throw graceful errors when classes like phing.listener.DefaultLogger are being used as -listener.
- Parent(s)
- \BuildLogger < \BuildListener
- See
- \BuildEvent
- See
- \Project::addBuildListener()
- Author
- Hans Lellelid
- Version
- $Revision: 526 $
Methods

buildFinished(
\BuildEvent $event
)
:
void
| Name | Type | Description |
|---|---|---|
| $event | \BuildEvent | The BuildEvent |

buildStarted(
\BuildEvent $event
)
:
void
| Name | Type | Description |
|---|---|---|
| $event | \BuildEvent | The BuildEvent |

messageLogged(
$event
)
:
void
@param BuildEvent The BuildEvent
| Name | Type | Description |
|---|---|---|
| $event |

setErrorStream(
\OutputStream $err
)
:
void
| Name | Type | Description |
|---|---|---|
| $err | \OutputStream | Configured output stream (e.g. STDERR) for errors. |

setMessageOutputLevel(
int $level
)
:
voidSets the min log level that this logger should respect.
Inherited from: \BuildLogger::setMessageOutputLevel()Messages below this level are ignored.
Constants for the message levels are in Project.php. The order of the levels, from least to most verbose, is: - Project::MSG_ERR - Project::MSG_WARN - Project::MSG_INFO - Project::MSG_VERBOSE - Project::MSG_DEBUG
| Name | Type | Description |
|---|---|---|
| $level | int | The log level integer (e.g. Project::MSG_VERBOSE, etc.). |

setOutputStream(
\OutputStream $output
)
:
void
| Name | Type | Description |
|---|---|---|
| $output | \OutputStream | Configured output stream (e.g. STDOUT) for standard output. |

targetFinished(
\BuildEvent $event
)
:
void
| Name | Type | Description |
|---|---|---|
| $event | \BuildEvent | The BuildEvent |
- See
- \BuildEvent#getException()

targetStarted(
\BuildEvent $event
)
:
void
| Name | Type | Description |
|---|---|---|
| $event | \BuildEvent | The BuildEvent |

taskFinished(
$event
)
:
void
@param BuildEvent The BuildEvent
| Name | Type | Description |
|---|---|---|
| $event |

taskStarted(
\BuildEvent $event
)
:
void
| Name | Type | Description |
|---|---|---|
| $event | \BuildEvent | The BuildEvent |