package log import ( "go.uber.org/fx" ) // Module exports logging functionality var Module = fx.Module("log", fx.Invoke(func(cfg Config) { Initialize(cfg) }), ) // New creates a new logger configuration from provided options func New(opts LogOptions) Config { return Config(opts) } // LogOptions are provided by the CLI type LogOptions struct { Verbose bool Debug bool Cron bool }