Documentation ¶
Index ¶
- Variables
- type WithOption
- func WithCustomLogger(logger zerolog.Logger) WithOption
- func WithExecutorOptionTracerWorkers(traceWorkers bool) WithOption
- func WithPassLoggerToModel(passLogger bool) WithOption
- func WithReceiveTimeout(timeout time.Duration) WithOption
- func WithTraceDefaultMessageCodecWorker(traceWorkers bool) WithOption
- func WithTraceTransactionManagerTransactions(traceTransactions bool) WithOption
- func WithTraceTransactionManagerWorkers(traceWorkers bool) WithOption
Constants ¶
This section is empty.
Variables ¶
var ( // Deprecated: use WithTraceTransactionManagerWorkers TraceTransactionManagerWorkers bool // Deprecated: use WithTraceTransactionManagerTransactions TraceTransactionManagerTransactions bool // Deprecated: use WithTraceDefaultMessageCodecWorker TraceDefaultMessageCodecWorker bool )
TraceTransactionManagerWorkers when set to true the transaction manager displays worker states in log
var (
TraceConnectionCache bool
)
TraceConnectionCache when set to true the connection cache outputs logs by default
Functions ¶
This section is empty.
Types ¶
type WithOption ¶
type WithOption interface { options.WithOption }
WithOption is a marker interface for options
func WithCustomLogger ¶
func WithCustomLogger(logger zerolog.Logger) WithOption
WithCustomLogger is a global option to supply a custom logger
func WithExecutorOptionTracerWorkers ¶
func WithExecutorOptionTracerWorkers(traceWorkers bool) WithOption
WithExecutorOptionTracerWorkers sets a flag which extends logging for workers
func WithPassLoggerToModel ¶
func WithPassLoggerToModel(passLogger bool) WithOption
WithPassLoggerToModel enables passing of log to the model
func WithReceiveTimeout ¶
func WithReceiveTimeout(timeout time.Duration) WithOption
WithReceiveTimeout set's a timeout for a receive-operation (similar to SO_RCVTIMEO)
func WithTraceDefaultMessageCodecWorker ¶
func WithTraceDefaultMessageCodecWorker(traceWorkers bool) WithOption
WithTraceDefaultMessageCodecWorker enables trace default message codec worker
func WithTraceTransactionManagerTransactions ¶
func WithTraceTransactionManagerTransactions(traceTransactions bool) WithOption
WithTraceTransactionManagerTransactions enables trace transaction manager transactions
func WithTraceTransactionManagerWorkers ¶
func WithTraceTransactionManagerWorkers(traceWorkers bool) WithOption
WithTraceTransactionManagerWorkers enables trace transaction manager workers