sttp.tapir.server.interceptor.log
Members list
Concise view
Type members
Classlikes
case class DefaultServerLog[F[_]](doLogWhenReceived: String => F[Unit], doLogWhenHandled: (String, Option[Throwable]) => F[Unit], doLogAllDecodeFailures: (String, Option[Throwable]) => F[Unit], doLogExceptions: (String, Throwable) => F[Unit], noLog: F[Unit], logWhenReceived: Boolean, logWhenHandled: Boolean, logAllDecodeFailures: Boolean, logLogicExceptions: Boolean, showEndpoint: AnyEndpoint => String, showRequest: ServerRequest => String, showResponse: ServerResponse[_] => String, includeTiming: Boolean, clock: Clock, ignoreEndpoints: Set[AnyEndpoint]) extends ServerLog[F]
Attributes
- Graph
- Supertypes
case class ExceptionContext[A, U](endpoint: Endpoint[A, _, _, _, _], securityInput: Option[A], principal: Option[U], request: ServerRequest)
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Used by ServerLogInterceptor to log how a request was handled.
Used by ServerLogInterceptor to log how a request was handled.
Attributes
- F[_]
Interpreter-specific effect type constructor.
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class DefaultServerLog[F]
class ServerLogEndpointInterceptor[F[_], T](serverLog: ServerLog[F] { type TOKEN = T; }, token: T) extends EndpointInterceptor[F]
Attributes
- Graph
- Supertypes
Attributes
- F
The effect in which log messages are returned.
- Graph
- Supertypes