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