Interface DebuggingDirectives
-
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
DebuggingDirectives$
,Directives$
,HttpApp
public interface DebuggingDirectives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Directive<scala.runtime.BoxedUnit>
logRequest(LoggingMagnet<scala.Function1<HttpRequest,scala.runtime.BoxedUnit>> magnet)
Produces a log entry for every incoming request.Directive<scala.runtime.BoxedUnit>
logRequestResult(LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>> magnet)
Produces a log entry for every incoming request andRouteResult
.Directive<scala.runtime.BoxedUnit>
logResult(LoggingMagnet<scala.Function1<RouteResult,scala.runtime.BoxedUnit>> magnet)
Produces a log entry for everyRouteResult
.
-
-
-
Method Detail
-
logRequest
Directive<scala.runtime.BoxedUnit> logRequest(LoggingMagnet<scala.Function1<HttpRequest,scala.runtime.BoxedUnit>> magnet)
Produces a log entry for every incoming request.- Parameters:
magnet
- (undocumented)- Returns:
- (undocumented)
-
logResult
Directive<scala.runtime.BoxedUnit> logResult(LoggingMagnet<scala.Function1<RouteResult,scala.runtime.BoxedUnit>> magnet)
Produces a log entry for everyRouteResult
.- Parameters:
magnet
- (undocumented)- Returns:
- (undocumented)
-
logRequestResult
Directive<scala.runtime.BoxedUnit> logRequestResult(LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>> magnet)
Produces a log entry for every incoming request andRouteResult
.- Parameters:
magnet
- (undocumented)- Returns:
- (undocumented)
-
-