MCPcopy
hub / github.com/CodisLabs/codis / LogLevel

Method LogLevel

pkg/proxy/proxy_api.go:320–323  ·  view source on GitHub ↗
(level log.LogLevel)

Source from the content-addressed store, hash-verified

318}
319
320func (c *ApiClient) LogLevel(level log.LogLevel) error {
321 url := c.encodeURL("/api/proxy/loglevel/%s/%s", c.xauth, level)
322 return rpc.ApiPutJson(url, nil, nil)
323}
324
325func (c *ApiClient) Shutdown() error {
326 url := c.encodeURL("/api/proxy/shutdown/%s", c.xauth)

Callers

nothing calls this directly

Calls 1

encodeURLMethod · 0.95

Tested by

no test coverage detected