sttp.tapir.server.interceptor.log.DefaultServerLog
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 ) extends ServerLog [F ]
Attributes Graph Reset zoom Hide graph Show graph
Supertypes trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list Concise view
Type members
The type of the per-request token that is generated when a request is started and passed to callbacks when the request is completed.
E.g. Unit
or a timestamp (Long
).
The type of the per-request token that is generated when a request is started and passed to callbacks when the request is completed.
E.g. Unit
or a timestamp (Long
).
Attributes Value members
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, provided a response.
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, provided a response.
Attributes Definition Classes
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, haven't provided a
response.
Invoked when there's a decode failure for an input of the endpoint and the interpreter, or other interceptors, haven't provided a
response.
Attributes Definition Classes
Invoked when an exception has been thrown when running the server logic or handling decode failures.
Invoked when an exception has been thrown when running the server logic or handling decode failures.
Attributes Definition Classes
Invoked when all inputs of the request have been decoded successfully and the endpoint handles the request by providing a response,
with the given status code.
Invoked when all inputs of the request have been decoded successfully and the endpoint handles the request by providing a response,
with the given status code.
Attributes Definition Classes
Invoked when the request has been received.
Invoked when the request has been received.
Attributes Definition Classes
Invoked when the request has been received to obtain the per-request token, such as the starting timestamp.
Invoked when the request has been received to obtain the per-request token, such as the starting timestamp.
Attributes Definition Classes
Invoked when the security logic fails and returns an error.
Invoked when the security logic fails and returns an error.
Attributes Definition Classes
Attributes Inherited from: Product
Attributes Inherited from: Product