package
Version:
v1.6.0-rc1
Opens a new window with list of versions in this module.
Published: Mar 30, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Strategy string `yaml:"strategy"`
Log LogConfig `yaml:"log"`
}
Config holds configuration options for the global error handling.
NewConfig returns a config struct with the default values for each field.
type LogConfig struct {
Enabled bool `yaml:"enabled"`
AddPayload bool `yaml:"add_payload"`
SamplingRatio float64 `yaml:"sampling_ratio"`
}
LogConfig holds configuration options for global error logging.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.