Documentation
¶
Index ¶
Constants ¶
View Source
const (
LevelTrace = slog.Level(-8)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Level string `mapstructure:"level" json:"level" default:"info"`
Output string `mapstructure:"output" json:"output" default:"stdout"`
Type string `mapstructure:"type" json:"type" default:"json"`
// TraceCorrelation adds the active trace and span IDs to log and audit
// records. No-op unless tracing is enabled via `server.trace`. Nil means enabled.
TraceCorrelation *bool `mapstructure:"trace_correlation" json:"trace_correlation" default:"true"`
}
Click to show internal directories.
Click to hide internal directories.