ResponseLogger
org.http4s.server.middleware.ResponseLogger
object ResponseLogger
Simple middleware for logging responses as they are processed
Attributes
- Source
- ResponseLogger.scala
- Graph
-
- Supertypes
- Self type
-
ResponseLogger.type
Members list
Value members
Concrete methods
def apply[G[_], F[_] : LoggerFactory, A](logHeaders: Boolean, logBody: Boolean, fk: FunctionK[F, G], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(http: Kleisli[G, A, Response[F]])(implicit evidence$1: LoggerFactory[F], G: MonadCancelThrow[G], F: Concurrent[F]): Kleisli[G, A, Response[F]]
Attributes
- Source
- ResponseLogger.scala
Attributes
- Source
- ResponseLogger.scala
Attributes
- Source
- ResponseLogger.scala
def httpRoutes[F[_] : LoggerFactory, A](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpRoutes: Kleisli[[_] =>> OptionT[F, _$13], A, Response[F]]): Kleisli[[_] =>> OptionT[F, _$14], A, Response[F]]
Attributes
- Source
- ResponseLogger.scala
def httpRoutesLogBodyText[F[_] : LoggerFactory, A](logHeaders: Boolean, logBody: (Stream[F, Byte]) => Option[F[String]], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpRoutes: Kleisli[[_] =>> OptionT[F, _$16], A, Response[F]]): Kleisli[[_] =>> OptionT[F, _$17], A, Response[F]]
Attributes
- Source
- ResponseLogger.scala
In this article