A type of request processing means required in order to apply this capability.
Combines this capability with the next
one.
A type of extension to request processing means applied by next
capability.
Next capability that receives requests modified by this capability.
New request processing capability that applies modifications to request by this capability first,
and then - by the next
one.
RequestCapability.combine
Abstract
forProvides request processing capability to the given handler.
Builds request processing handler that modifies request and delegates to target handler
.
A type of request processing means expected by constructed handler.
Request processing handler that will receive modified request context.
New request processing handler.
Configures request logging.
Optional
config: RequestZLogConfig<TNewInput>New request logging configuration.
A logging capability with the given configuration applied.
Generated using TypeDoc
Request logging capability via @run-z/log-z.
Provides request logger means containing
ZLogger
instance for handlers.The log messages are actually written to the log under certain conditions. E.g. when request processing error occurred, error logged, or immediate logging triggered explicitly. Once immediate logging triggered, all log messages for the log are recorded to the log, as well as all messages logged after that.
To trigger immediate logging add
immediate
property with truthy value to log message details like this: