Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxSize = 10 * 1024 * 1024 DefaultMaxBackups = 1 )
Constants for defaults.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
func DefaultPath() string
DefaultPath returns the default path that will be used. This will use cmdline.AppIdentifier (if set) to better isolate the log location.
func MaxBackups ¶
MaxBackups sets the maximum number of old log files to retain. Defaults to DefaultMaxBackups.
Types ¶
Click to show internal directories.
Click to hide internal directories.