Documentation ¶
Index ¶
Constants ¶
View Source
const ( //KB Kilobytes KB = 1 << (10 * iota) //MB Megabytes MB //GB Gigabytes GB //TB Terabytes TB // DefaultRotationRate defines the default value for rotation refresh rate DefaultRotationRate = time.Millisecond * 250 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogFile ¶
LogFile structure definition A LogFile is a GZIP compressed file which rotates automatically
func (*LogFile) SetRefreshRate ¶
SetRefreshRate sets the rate at which the LogFile should check for rotating check DefaultRotationRate for default value
Click to show internal directories.
Click to hide internal directories.