MCPcopy Index your code
hub / github.com/CodisLabs/codis / LogLevel

Method LogLevel

pkg/topom/topom_api.go:821–824  ·  view source on GitHub ↗
(level log.LogLevel)

Source from the content-addressed store, hash-verified

819}
820
821func (c *ApiClient) LogLevel(level log.LogLevel) error {
822 url := c.encodeURL("/api/topom/loglevel/%s/%s", c.xauth, level)
823 return rpc.ApiPutJson(url, nil, nil)
824}
825
826func (c *ApiClient) Shutdown() error {
827 url := c.encodeURL("/api/topom/shutdown/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected