User tests: Successful: Unsuccessful:
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.
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.
The new API and deprecation should be documented.
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
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:
?
|