Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logrotate ¶
type Logrotate struct {
sync.Mutex
Age time.Duration
Num int
Size int
Timestamp bool
// contains filtered or unexported fields
}
Logrotate struct
func New ¶
New return instance of Logrotate defaults age 86400 rotate every 24h0m0s num 7 files size 0 no limit size timestamp false
Click to show internal directories.
Click to hide internal directories.