Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*RotateLogs)
Option is a functional option for RotateLogs
func WithRotationCount ¶
WithRotationCount sets the number of files to keep
func WithRotationTime ¶
WithRotationTime sets the rotation interval
type RotateLogs ¶
type RotateLogs struct {
// contains filtered or unexported fields
}
RotateLogs represents a log file that gets automatically rotated
type Strftime ¶
type Strftime struct {
// contains filtered or unexported fields
}
Strftime provides strftime-like formatting for filenames
func NewStrftime ¶
NewStrftime creates a new Strftime formatter
Click to show internal directories.
Click to hide internal directories.