Documentation
¶
Overview ¶
timewriter.go https://github.com/longbozhan/timewriter
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeWriter ¶
type TimeWriter struct {
Dir string
Compress bool
ReserveDay int
LogFilePrefix string
// contains filtered or unexported fields
}
func (*TimeWriter) Close ¶
func (l *TimeWriter) Close() error
func (*TimeWriter) Rotate ¶
func (l *TimeWriter) Rotate() error
Click to show internal directories.
Click to hide internal directories.