Logger

object Logger
class Object
trait Matchable
class Any
Logger.type

Value members

Concrete methods

def defaultLogHeaders[F[_], A <: Message[F]](message: A)(logHeaders: Boolean, redactHeadersWhen: CIString => Boolean): String
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]
: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">