Versions in this module Expand all Collapse all v0 v0.6.2 Jan 4, 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