RequestLogger
object RequestLogger
Simple Middleware for Logging Requests As They Are Processed
Value members
Concrete methods
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)" class="documentableAnchor">
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)" 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]