Versions in this module Expand all Collapse all v3 v3.0.0 Nov 8, 2021 Changes in this version + func CompressLogFiles(compressFile []string, filePath string) + func CreateFile(filename string) (*os.File, error) + func GenerateFileNme(path string, name string, suffix string, clock interface{ ... }, ...) string + func GenerateFn(pattern *strftime.Strftime, clock interface{ ... }, rotationTime time.Duration) string + func GenerateFnForFileSize(pattern *strftime.Strftime, clock interface{ ... }) string + func GetNewFileName(filePath string, fileName string, rotationSize int64, clock interface{ ... }) string + func ParseTimeFromFileName(fileNameTimeFormat string, fileName string, clock time.Time) time.Time Other modules containing this package github.com/chriszhangmq/file-rotatelogs