Documentation ¶
Index ¶
Constants ¶
View Source
const (
QUERY_KEY = "level"
)
Variables ¶
This section is empty.
Functions ¶
func CleanupLogFiles ¶
func SetupLogger ¶
func SetupLogger(agentConfig *config.AgentConfig)
initialize the logger with a specified log format
Types ¶
type AgentEnvoyLogFormatter ¶
type AgentEnvoyLogFormatter struct {
// contains filtered or unexported fields
}
Generic Log Formatter to match Envoy default log Format
func NewAgentLogFormatter ¶
func NewAgentLogFormatter() *AgentEnvoyLogFormatter
type AgentLogWriter ¶
type AgentLogWriterImpl ¶
type AgentLogWriterImpl struct {
// contains filtered or unexported fields
}
func (*AgentLogWriterImpl) GetOutputFileDescriptors ¶
func (a *AgentLogWriterImpl) GetOutputFileDescriptors() []uintptr
type EnvoyLoggingHandler ¶
type EnvoyLoggingHandler struct { AgentConfig config.AgentConfig Limiter *rate.Limiter // contains filtered or unexported fields }
func (*EnvoyLoggingHandler) LoggingHandler ¶
func (envoyHandler *EnvoyLoggingHandler) LoggingHandler(response http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.