Class LoggingMagnet<T>
- java.lang.Object
-
- akka.http.scaladsl.server.directives.LoggingMagnet<T>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class LoggingMagnet<T> extends java.lang.Object implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingMagnet(scala.Function1<akka.event.LoggingAdapter,T> f)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Function1<akka.event.LoggingAdapter,T>
f()
static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>>
forMessageFromFullShow(scala.Function1<T,LogEntry> show)
static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>>
forMessageFromMarker(java.lang.String marker)
static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>>
forMessageFromMarkerAndLevel(scala.Tuple2<java.lang.String,akka.event.Logging.LogLevel> markerAndLevel)
static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>>
forMessageFromShow(scala.Function1<T,java.lang.String> show)
static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>>
forRequestResponseFromFullShow(scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.Option<LogEntry>>> show)
static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>>
forRequestResponseFromMarker(java.lang.String marker)
static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>>
forRequestResponseFromMarkerAndLevel(scala.Tuple2<java.lang.String,akka.event.Logging.LogLevel> markerAndLevel)
-
-
-
Constructor Detail
-
LoggingMagnet
public LoggingMagnet(scala.Function1<akka.event.LoggingAdapter,T> f)
-
-
Method Detail
-
forMessageFromMarker
public static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>> forMessageFromMarker(java.lang.String marker)
-
forMessageFromMarkerAndLevel
public static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>> forMessageFromMarkerAndLevel(scala.Tuple2<java.lang.String,akka.event.Logging.LogLevel> markerAndLevel)
-
forMessageFromShow
public static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>> forMessageFromShow(scala.Function1<T,java.lang.String> show)
-
forMessageFromFullShow
public static <T> LoggingMagnet<scala.Function1<T,scala.runtime.BoxedUnit>> forMessageFromFullShow(scala.Function1<T,LogEntry> show)
-
forRequestResponseFromMarker
public static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>> forRequestResponseFromMarker(java.lang.String marker)
-
forRequestResponseFromMarkerAndLevel
public static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>> forRequestResponseFromMarkerAndLevel(scala.Tuple2<java.lang.String,akka.event.Logging.LogLevel> markerAndLevel)
-
forRequestResponseFromFullShow
public static LoggingMagnet<scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.runtime.BoxedUnit>>> forRequestResponseFromFullShow(scala.Function1<HttpRequest,scala.Function1<RouteResult,scala.Option<LogEntry>>> show)
-
f
public scala.Function1<akka.event.LoggingAdapter,T> f()
-
-