Versions in this module Expand all Collapse all v0 v0.1.1 Nov 5, 2022 Changes in this version + func L() *zap.Logger + type ProdLoggerOpts struct + Logpath string + Pathperm os.FileMode + Sample *LogSamplerOpts v0.1.0 Nov 5, 2022 Changes in this version + const DefaultLogLogFirst + const DefaultLogLogThereafter + const DefaultLogPathPerm + const DefaultLogTick + const HighPriorityLogFileName + const LowPriorityLogFileName + func MustMkDir(path string, dirperm os.FileMode) + func S() *zap.SugaredLogger + func SetLogger(m Mode, opts *LogSamplerOpts, logpath string, pathperm ...os.FileMode) + type LogSamplerOpts struct + First int + Thereafter int + Tick time.Duration + type Mode int + const DEBUG + const PROD