Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "file_logger"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Path string `json:"path"`
MaxSize int `json:"max_size_mb"`
MaxAge int `json:"max_age_days"`
MaxBackups int `json:"max_backups"`
Compress bool `json:"compress"`
Level string `json:"level"`
}
Config holds the configuration for the file logger plugin.
type Factory ¶
type Factory struct{}
Factory creates file logger plugin instances.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the logger plugin interface for file-based logging.
func (*Plugin) Reconfigure ¶
Reconfigure updates the file logger configuration.
Click to show internal directories.
Click to hide internal directories.