[JIRA] Resolved: (LBCORE-35) Possibility to change StatusManger impl in subclass of ContextBase

[ http://jira.qos.ch/browse/LBCORE-35?page=com.atlassian.jira.plugin.system.is... ] Ceki Gulcu resolved LBCORE-35. ------------------------------ Fix Version/s: 0.9.12 Resolution: Fixed Added a setter for status manager in revision 1910
Possibility to change StatusManger impl in subclass of ContextBase ------------------------------------------------------------------
Key: LBCORE-35 URL: http://jira.qos.ch/browse/LBCORE-35 Project: logback-core Issue Type: Improvement Components: Other Affects Versions: unspecified Environment: Operating System: All Platform: All Reporter: Anders Hammar Assignee: Logback dev list Priority: Minor Fix For: 0.9.12
I'd like the possibility to change the StatusManager implementation in a subclass of ch.qos.logback.core.ContextBase. As the sm attribute isn't 'protected' and there is no set method, this isn't possible without overriding the getStatusManger() method. A simple solution would be to add a 'protected' constructor that takes the StatusManager as argument.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (1)
-
Ceki Gulcu (JIRA)