Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RotationOption ¶
type RotationOption func(*RotationSetting)
func WithLogPath ¶
func WithLogPath(logPath string) RotationOption
func WithMaxAge ¶
func WithMaxAge(maxAge time.Duration) RotationOption
func WithNameFormat ¶
func WithNameFormat(nameFormat string) RotationOption
func WithRotationSize ¶
func WithRotationSize(rotationSize int64) RotationOption
func WithRotationTime ¶
func WithRotationTime(rotationTime time.Duration) RotationOption
type RotationSetting ¶
type RotationSetting struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.