Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2024 Changes in this version + func FileConfig(config *common.URL) *lumberjack.Logger + type Option func(*Options) + func WithAppender(appender string) Option + func WithFileCompress() Option + func WithFileMaxAge(age int) Option + func WithFileMaxBackups(backups int) Option + func WithFileMaxSize(size int) Option + func WithFileName(name string) Option + func WithFormat(format string) Option + func WithLevel(level string) Option + func WithLogrus() Option + func WithZap() Option + type Options struct + Logger *global.LoggerConfig + func NewOptions(opts ...Option) *Options