ResponseLogger

Simple middleware for logging responses as they are processed

Source:
ResponseLogger.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[G[_], F[_], A](logHeaders: Boolean, logBody: Boolean, fk: FunctionK[F, G], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(http: Kleisli[G, A, Response[F]])(implicit G: MonadCancelThrow[G], F: Async[F]): Kleisli[G, A, Response[F]]
def httpApp[F[_] : Async, A](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpApp: Kleisli[F, A, Response[F]]): Kleisli[F, A, Response[F]]
def httpAppLogBodyText[F[_] : Async, A](logHeaders: Boolean, logBody: Stream[F, Byte] => Option[F[String]], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpApp: Kleisli[F, A, Response[F]]): Kleisli[F, A, Response[F]]
def httpRoutes[F[_] : Async, 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]]
def httpRoutesLogBodyText[F[_] : Async, 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]]