Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileSlog ¶
Types ¶
type Config ¶
type Config struct { FileDir string `yaml:"FileDir"` MaxSize int `yaml:"MaxSize"` MaxBackups int `yaml:"MaxBackups"` MaxAge int `yaml:"MaxAge"` Compress bool `yaml:"Compress"` LocalTime bool `yaml:"LocalTime"` AddSource bool `yaml:"AddSource"` Level slog.Level ExtraWriters []ExtraWriter ReplaceAttr func(groups []string, a slog.Attr) slog.Attr }
Click to show internal directories.
Click to hide internal directories.