Versions in this module Expand all Collapse all v1 v1.16.4 Nov 29, 2024 v0 v0.16.4 Nov 29, 2024 Changes in this version + const ACL + const APIGatewayController + const AWS + const Agent + const AntiEntropy + const AutoConfig + const AutoEncrypt + const Autopilot + const Azure + const CA + const Catalog + const CentralConfig + const ConfigEntry + const Connect + const Consul + const ConsulClient + const ConsulServer + const ControllerRuntime + const Coordinate + const DNS + const Envoy + const FSM + const FederationState + const GatewayLocator + const HTTP + const HTTPRouteController + const Health + const IngressGateway + const Intentions + const Internal + const KV + const LAN + const Leader + const Legacy + const License + const Manager + const Memberlist + const MeshGateway + const Namespace + const NetworkAreas + const Operator + const Partition + const Peering + const PeeringMetrics + const PreparedQuery + const Proxy + const ProxyConfig + const RPC + const Raft + const Replication + const Router + const Sentinel + const Serf + const Session + const Snapshot + const TCPRouteController + const TLSUtil + const TerminatingGateway + const Transaction + const UIMetricsProxy + const UIServer + const UsageMetrics + const Vault + const WAN + const Watch + const XDS + const XDSCapacityController + func AllowedLogLevels() []string + func LevelFromString(level string) hclog.Level + func Setup(config Config, out io.Writer) (hclog.InterceptLogger, error) + func ValidateLogLevel(minLevel string) bool + type Config struct + EnableSyslog bool + LogFilePath string + LogJSON bool + LogLevel string + LogRotateBytes int + LogRotateDuration time.Duration + LogRotateMaxFiles int + Name string + SyslogFacility string + type GRPCLogger struct + func NewGRPCLogger(logLevel string, logger hclog.Logger) *GRPCLogger + func (g *GRPCLogger) Error(args ...interface{}) + func (g *GRPCLogger) Errorf(format string, args ...interface{}) + func (g *GRPCLogger) Errorln(args ...interface{}) + func (g *GRPCLogger) Fatal(args ...interface{}) + func (g *GRPCLogger) Fatalf(format string, args ...interface{}) + func (g *GRPCLogger) Fatalln(args ...interface{}) + func (g *GRPCLogger) Info(args ...interface{}) + func (g *GRPCLogger) Infof(format string, args ...interface{}) + func (g *GRPCLogger) Infoln(args ...interface{}) + func (g *GRPCLogger) V(l int) bool + func (g *GRPCLogger) Warning(args ...interface{}) + func (g *GRPCLogger) Warningf(format string, args ...interface{}) + func (g *GRPCLogger) Warningln(args ...interface{}) + type GatedWriter struct + Writer io.Writer + func (w *GatedWriter) Flush() + func (w *GatedWriter) Write(p []byte) (n int, err error) + type LogFile struct + BytesWritten int64 + FileInfo *os.File + LastCreated time.Time + MaxBytes int + MaxFiles int + func (l *LogFile) Write(b []byte) (n int, err error) + type LogSetupErrorFn func(string) + type SyslogWrapper struct + func (s *SyslogWrapper) Write(p []byte) (int, error)