open-consul/agent/consul/operator_endpoint.go
Chris Piraino 3dd0b59793
Allow users to configure either unstructured or JSON logging (#7130)
* hclog Allow users to choose between unstructured and JSON logging
2020-01-28 17:50:41 -06:00

10 lines
195 B
Go

package consul
import "github.com/hashicorp/go-hclog"
// Operator endpoint is used to perform low-level operator tasks for Consul.
type Operator struct {
srv *Server
logger hclog.Logger
}