Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
DS must add special support for injecting Logger and FormatterLogger objects even though they themselves are not services. When a component references the Logger or FormatterLogger types, SCR must get first get the LoggerFactory service matching the reference and then call the getLogger(String, Class) method passing the component implementation class name as the first argument and the Logger type as the second argument. The returned Logger object is then injected for the reference, rather than the LoggerFactory service used to create the Logger.