(key *ari.Key)
| 35 | } |
| 36 | |
| 37 | func (l *logging) Get(key *ari.Key) *ari.LogHandle { |
| 38 | k, err := l.c.getRequest(&proxy.Request{ |
| 39 | Kind: "AsteriskLoggingGet", |
| 40 | Key: key, |
| 41 | }) |
| 42 | if err != nil { |
| 43 | l.c.log.Warn("failed to get logging key for handle", "error", err) |
| 44 | return ari.NewLogHandle(key, l) |
| 45 | } |
| 46 | return ari.NewLogHandle(k, l) |
| 47 | } |
| 48 | |
| 49 | func (l *logging) List(filter *ari.Key) ([]*ari.Key, error) { |
| 50 | return l.c.listRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected