Does dependency container have access to route?

Is the route available when adding a service to SLim dependency container?

I want to create route-specific logger handlers to write to different files and would like to extract a portion of route to uniquely name each logfile.


No it does not.

You could do something with Middleware however