sttp.tapir.server.interceptor.log
Members list
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ServerLog[F]class Objecttrait Matchableclass AnyShow all
case class ExceptionContext[A, U](endpoint: Endpoint[A, _, _, _, _], securityInput: Option[A], principal: Option[U], request: ServerRequest)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Used by ServerLogInterceptor to log how a request was handled.
Used by ServerLogInterceptor to log how a request was handled.
Type parameters
- F[_]
-
Interpreter-specific effect type constructor.
Attributes
- 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
- Supertypes
class ServerLogInterceptor[F[_]](serverLog: ServerLog[F]) extends RequestInterceptor[F]
Type parameters
- F
-
The effect in which log messages are returned.
Attributes
- Supertypes
In this article