NewTDebugProtocolFactoryWithLogger creates a TDebugProtocolFactory.
(underlying TProtocolFactory, logPrefix string, logger Logger)
| 75 | |
| 76 | // NewTDebugProtocolFactoryWithLogger creates a TDebugProtocolFactory. |
| 77 | func NewTDebugProtocolFactoryWithLogger(underlying TProtocolFactory, logPrefix string, logger Logger) *TDebugProtocolFactory { |
| 78 | return &TDebugProtocolFactory{ |
| 79 | Underlying: underlying, |
| 80 | LogPrefix: logPrefix, |
| 81 | Logger: logger, |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | func (t *TDebugProtocolFactory) GetProtocol(trans TTransport) TProtocol { |
| 86 | return &TDebugProtocol{ |
no outgoing calls
no test coverage detected