Versions in this module Expand all Collapse all v1 v1.3.1 Sep 5, 2021 v1.3.0 Aug 9, 2021 Changes in this version + var DefaultConfig = NewConfig("") + type Config struct + LogConf *LogConfig + func NewConfig(configPath string) *Config + func (c *Config) Init() error + type HandlerConfig struct + File string + Levels []string + Marker string + Message *MessageConfig + Rollover *RolloverConfig + Sync *SyncConfig + Type string + func NewHandlerConfig() *HandlerConfig + type LogConfig struct + Handlers []HandlerConfig + Level string + func NewLogConfig() *LogConfig + type MessageConfig struct + Format string + func NewMessageConfig() *MessageConfig + type RolloverConfig struct + BackupCount int + BackupTime string + RolloverInterval string + RolloverSize string + func NewRolloverConfig() *RolloverConfig + type SyncConfig struct + AsyncWrite bool + FlushInterval int + FlushSize int + QueueSize int + func NewSyncConfig() *SyncConfig