? Pending

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
21 Oct 2017

Summary of Changes

Creating new logger types requires classes to follow a hardcoded naming convention using a core namespace. To improve this, a logger registry is introduced which allows loggers to be registered with any valid PHP class name.

Testing Instructions

In general, the CMS' logging functionality continues to work without noticeable change.

For developers adding custom logger types, the hardcoded naming convention will continue to work through 4.x but is a deprecated behavior to be removed in 5.0. Instead, you should call the new Joomla\CMS\Log\Log::registerLogger() method to register your custom logger object.

Documentation Changes Required

The new API and deprecation should be documented.

avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2017
Category Libraries
avatar mbabker mbabker - open - 21 Oct 2017
avatar mbabker mbabker - change - 21 Oct 2017
Status New Pending
avatar wilsonge wilsonge - change - 2 Nov 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-11-02 12:32:18
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 2 Nov 2017
avatar wilsonge wilsonge - merge - 2 Nov 2017

Add a Comment

Login with GitHub to post a comment