(key *ari.Key)
| 24 | } |
| 25 | |
| 26 | func (l *logging) Data(key *ari.Key) (*ari.LogData, error) { |
| 27 | data, err := l.c.dataRequest(&proxy.Request{ |
| 28 | Kind: "AsteriskLoggingData", |
| 29 | Key: key, |
| 30 | }) |
| 31 | if err != nil { |
| 32 | return nil, err |
| 33 | } |
| 34 | return data.Log, nil |
| 35 | } |
| 36 | |
| 37 | func (l *logging) Get(key *ari.Key) *ari.LogHandle { |
| 38 | k, err := l.c.getRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected