Versions in this module Expand all Collapse all v0 v0.0.2 Jul 23, 2021 v0.0.1 Jun 11, 2021 Changes in this version + const RotateDaily + type FileWriter struct + func New(fpath string, fns ...Option) (*FileWriter, error) + func (f *FileWriter) Close() error + func (f *FileWriter) Write(p []byte) (int, error) + type Option func(opt *option) + func ChanSize(n int) Option + func MaxFile(n int) Option + func MaxSize(n int64) Option + func RotateFormat(format string) Option