Ticket #174 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Add differentiation for build loggers that require explicit streams to be set

Reported by: hans Assigned to: hans
Priority: major Milestone: 2.3.0
Component: phing-core Version: 2.3.0RC2
Keywords: Cc:

Description

Currently any class that implements BuildLogger can be added as a -listener. This is not actually correct, since some build loggers (i.e. the default {{phing.listener.DefaultLogger}} subclasses) require explicit output/error streams. Listeners have no explicit output streams set, so this causes some PHP fatal errors.

Attachments

Change History

11/01/07 20:19:41 changed by hans

  • status changed from new to closed.
  • resolution set to fixed.

Added a new {{StreamRequiredBuildLogger}} interface that the {{DefaultLogger}} implements in r279; also fixed Phing.php to throw proper error in r280.


Add/Change #174 (Add differentiation for build loggers that require explicit streams to be set)




Action