Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadName = errors.New("bad name")
View Source
var ErrFileNotFound = errors.New("file not found")
View Source
var ErrNotFound = errors.New("entry not found")
Functions ¶
This section is empty.
Types ¶
type RotatingLog ¶
type RotatingLog struct {
// contains filtered or unexported fields
}
func NewRotatingLog ¶
func NewRotatingLog(dir string, maxLogFiles int) *RotatingLog
Click to show internal directories.
Click to hide internal directories.