Logger
org.http4s.server.middleware.Logger
object Logger
Simple Middleware for Logging All Requests and Responses
Attributes
- Source
- Logger.scala
- Graph
-
- Supertypes
- Self type
-
Logger.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], G: MonadCancelThrow[G], F: Concurrent[F]): Http[G, F]
Attributes
- Source
- Logger.scala
Attributes
- Source
- Logger.scala
Attributes
- Source
- Logger.scala
Attributes
- Source
- Logger.scala
def httpRoutes[F[_] : LoggerFactory](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(httpRoutes: HttpRoutes[F]): HttpRoutes[F]
Attributes
- Source
- Logger.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
- Logger.scala
def logBodyText[G[_], F[_] : LoggerFactory](logHeaders: Boolean, logBody: (Stream[F, Byte]) => Option[F[String]], fk: FunctionK[F, G], redactHeadersWhen: CIString => Boolean, logAction: Option[String => F[Unit]])(http: Http[G, F])(implicit evidence$1: LoggerFactory[F], G: MonadCancelThrow[G], F: Concurrent[F]): Http[G, F]
Attributes
- Source
- Logger.scala
def logMessage[F[_], A <: Message[F]](message: A)(logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean)(log: String => F[Unit])(implicit F: Concurrent[F]): F[Unit]
Attributes
- Source
- Logger.scala
In this article