laeubi opened a new pull request, #585:
URL: https://github.com/apache/felix-dev/pull/585

   Showcase for the proposed `ResolveContext.getLogger()` in 
osgi/org.osgi.service.resolver#44.
   
   **Stacked on #584**: the first commit belongs to that PR and disappears once 
it is merged.
   
   - Update the embedded resolver API with `ResolveContext.getLogger()` 
(package version 1.2.0)
   - Add `ContextLogger`, which redirects the resolver log messages to the 
`FormatterLogger` of the resolve context
   - Log the number of resources at the start of a resolution, using the 
formatter with parameters
   - Without a context logger the default logger is used as before
   
   A resolver created through the `ServiceLoader` (#584) has no other way to 
get a logger, which is the motivation for the proposal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to