Logger
object Logger
Value members
Concrete methods
java.lang.Integer.toHexString(b.&(255))))
Some.apply[F[String]](bodyStream.compile[[x>:Nothing<:Any]=>F[x],[x>:Nothing<:Any]=>F[x],String](target[[x>:Nothing<:Any]=>F[x]](forConcurrent[[x>:Nothing<:Any]=>F[x]](evidence$1))).string(refl[String]))
}elseNone" class="documentableAnchor">
def java.lang.Integer.toHexString(b.&(255))))
Some.apply[F[String]](bodyStream.compile[[x>:Nothing<:Any]=>F[x],[x>:Nothing<:Any]=>F[x],String](target[[x>:Nothing<:Any]=>F[x]](forConcurrent[[x>:Nothing<:Any]=>F[x]](evidence$1))).string(refl[String]))
}elseNone" class="documentableName ">defaultLogBody[F[_] : Concurrent, A <: Message[F]](message: A)(logBody: Boolean): Option[F[String]]
:Nothing<:[_$41>:Nothing<:Any]=>Any]=>
_root_.scala.StringContext.apply("","","").s(resp.httpVersion,resp.status)
}
valheaders:String=defaultLogHeaders[F,A](message)(logHeaders,redactHeadersWhen)
valbodyText:F[String]=logBodyText.apply(message.body)match{
caseSome(textF)=>
toFunctorOps[F,String](textF)(F).map[String](((text:String)=>_root_.scala.StringContext.apply("body=\"","\"").s(text)))
caseNone=>
F.pure[String]("")
}
defspaced(x:String):String=if(x.isEmpty())xelse_root_.scala.StringContext.apply("","").s(x)
toFlatMapOps[F,String](toFunctorOps[F,String](bodyText)(F).map[String](((body:String)=>_root_.scala.StringContext.apply("","","","").s(prelude,spaced(headers),spaced(body)))))(F).flatMap[Unit](log)
}" class="documentableAnchor">
def :Nothing<:[_$41>:Nothing<:Any]=>Any]=>
_root_.scala.StringContext.apply("","","").s(resp.httpVersion,resp.status)
}
valheaders:String=defaultLogHeaders[F,A](message)(logHeaders,redactHeadersWhen)
valbodyText:F[String]=logBodyText.apply(message.body)match{
caseSome(textF)=>
toFunctorOps[F,String](textF)(F).map[String](((text:String)=>_root_.scala.StringContext.apply("body=\"","\"").s(text)))
caseNone=>
F.pure[String]("")
}
defspaced(x:String):String=if(x.isEmpty())xelse_root_.scala.StringContext.apply("","").s(x)
toFlatMapOps[F,String](toFunctorOps[F,String](bodyText)(F).map[String](((body:String)=>_root_.scala.StringContext.apply("","","","").s(prelude,spaced(headers),spaced(body)))))(F).flatMap[Unit](log)
}" class="documentableName ">logMessageWithBodyText[F[_], A <: Message[F]](message: A)(logHeaders: Boolean, logBodyText: Stream[F, Byte] => Option[F[String]], redactHeadersWhen: CIString => Boolean)(log: String => F[Unit])(implicit F: Monad[F]): F[Unit]