MCPcopy Create free account
hub / github.com/koding/kite / NewKeysAPILogger

Function NewKeysAPILogger

kontrol/etcd_keysapi_logger.go:15–20  ·  view source on GitHub ↗
(kapi etcd.KeysAPI, log kite.Logger)

Source from the content-addressed store, hash-verified

13}
14
15func NewKeysAPILogger(kapi etcd.KeysAPI, log kite.Logger) KeysAPILogger {
16 return KeysAPILogger{
17 kapi: kapi,
18 log: log,
19 }
20}
21
22func (k KeysAPILogger) Get(ctx context.Context, key string, opts *etcd.GetOptions) (*etcd.Response, error) {
23 k.log.Debug("Get: key: %v opts: %v", key, opts)

Callers 1

NewEtcdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected