#1221: Documentation (and api-hint) mess in logging subsystem
---------------------+------------------------------------------------------
 Reporter:  felix    |       Owner:  david
     Type:  defect   |      Status:  new  
 Priority:  normal   |   Milestone:  1.0.3
Component:  logging  |     Version:  1.0.2
 Severity:  normal   |    Keywords:       
Has_patch:  0        |  
---------------------+------------------------------------------------------
 Some parts of the logging code are documented as accepting strings (for
 example AgaviLoggerAppender::write()) while other parts expect the message
 to be an AgaviLoggerMessage object (AgaviPassthruLoggerLayout,
 AgaviTimestampLoggerLayout). Feeding a string to
 AgaviLoggerAppender::write() will actually cause a crash.

 We should fix the code comments and the type hinting accordingly.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1221>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to