Versions in this module Expand all Collapse all v0 v0.0.2 Sep 22, 2022 Changes in this version + func NewLogger(mod ...ModOptions) *zap.Logger + type Logger struct + Opts *Options + type ModOptions func(options *Options) + func SetAppName(AppName string) ModOptions + func SetDebugFileName(DebugFileName string) ModOptions + func SetDevelopment(Development bool) ModOptions + func SetErrorFileName(ErrorFileName string) ModOptions + func SetInfoFileName(InfoFileName string) ModOptions + func SetLevel(Level zapcore.Level) ModOptions + func SetLogFileDir(LogFileDir string) ModOptions + func SetMaxAge(MaxAge int) ModOptions + func SetMaxBackups(MaxBackups int) ModOptions + func SetMaxSize(MaxSize int) ModOptions + func SetWarnFileName(WarnFileName string) ModOptions + type Options struct + AppName string + DebugFileName string + Development bool + ErrorFileName string + InfoFileName string + Level zapcore.Level + LogFileDir string + MaxAge int + MaxBackups int + MaxSize int + WarnFileName string