RequestLogger
org.http4s.client.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
Attributes
- Source
- RequestLogger.scala
def toFunctorOps[F,String](textF)(F).map[String](((text:String)=>_root_.scala.StringContext.apply("body=\"","\"").s(text))) caseNone=> Sync.apply[F](F).pure[String]("") } defspaced(x:String):String=if(x.isEmpty())xelse_root_.scala.StringContext.apply("","").s(x) toFunctorOps[F,String](bodyText)(F).map[String](((body:String)=>_root_.scala.StringContext.apply("","","","","","").s(color,prelude,spaced(headers),spaced(body),RESET))) }))(F)" t="n"class="documentableName ">colored[F[_]](logHeaders: Boolean, logBody: Boolean, redactHeadersWhen: CIString => Boolean, color: String, logAction: Option[String => F[Unit]])(client: Client[F])(implicit F: Async[F]): Client[F]
Attributes
- Source
- RequestLogger.scala
Attributes
- Source
- RequestLogger.scala
Concrete fields
Attributes
- Source
- RequestLogger.scala
In this article