Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt func(*Logger)
func WithCompress ¶
func WithMaxAge ¶
WithMaxAge set maximum Reserve of days, the default is not to remove old logs.
func WithMaxBackups ¶
WithMaxBackups set maximum amount old log files to retain, the default is to retain all old logs.
func WithMaxSize ¶
WithMaxSize set log maximum size in MB, defaults to 100 MB.
Click to show internal directories.
Click to hide internal directories.