RequestLogger

org.http4s.server.middleware.RequestLogger
object RequestLogger

Simple Middleware for Logging Requests As They Are Processed

Attributes

Source
RequestLogger.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[G[_], F[_] : LoggerFactory](logHeaders: Boolean, logBody: Boolean, fk: FunctionK[F, G], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(http: Http[G, F])(implicit evidence$1: LoggerFactory[F], F: Concurrent[F], G: MonadCancelThrow[G]): Http[G, F]

Attributes

Source
RequestLogger.scala
def httpApp[F[_] : LoggerFactory](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpApp: HttpApp[F]): HttpApp[F]

Attributes

Source
RequestLogger.scala
def httpAppLogBodyText[F[_] : LoggerFactory](logHeaders: Boolean, logBody: (Stream[F, Byte]) => Option[F[String]], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpApp: HttpApp[F]): HttpApp[F]

Attributes

Source
RequestLogger.scala
def httpRoutes[F[_] : LoggerFactory](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpRoutes: HttpRoutes[F]): HttpRoutes[F]

Attributes

Source
RequestLogger.scala
def httpRoutesLogBodyText[F[_] : LoggerFactory](logHeaders: Boolean, logBody: (Stream[F, Byte]) => Option[F[String]], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpRoutes: HttpRoutes[F]): HttpRoutes[F]

Attributes

Source
RequestLogger.scala