This documentation regards version 10.2, however the current version is 10.7.0.
extractLog
Signature
def extractLog:Directive1[LoggingAdapter]
Description
Extracts a LoggingAdapterLoggingAdapter from the request context which can be used for logging inside the route.
The extractLog directive is used for providing logging to routes, such that they don’t have to depend on closing over a logger provided in the class body.