MCPcopy
hub / github.com/pion/webrtc / WithInterceptorLoggerFactory

Function WithInterceptorLoggerFactory

interceptor_option.go:32–36  ·  view source on GitHub ↗

WithInterceptorLoggerFactory sets the logger factory for interceptors.

(loggerFactory logging.LoggerFactory)

Source from the content-addressed store, hash-verified

30
31// WithInterceptorLoggerFactory sets the logger factory for interceptors.
32func WithInterceptorLoggerFactory(loggerFactory logging.LoggerFactory) InterceptorOption {
33 return func(o *interceptorOptions) {
34 o.loggerFactory = loggerFactory
35 }
36}
37
38// WithNackGeneratorOptions sets options for the NACK generator interceptor.
39func WithNackGeneratorOptions(opts ...nack.GeneratorOption) InterceptorOption {

Callers 2

NewAPIFunction · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…