RequestLogger
org.http4s.server.middleware.RequestLogger
object RequestLogger
Simple Middleware for Logging Requests As They Are Processed
Attributes
- Source
- RequestLogger.scala
- Graph
-
- Supertypes
- Self type
-
RequestLogger.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
Attributes
- Source
- RequestLogger.scala
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
In this article