Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileMode ¶
type FileMode string
const ( // FileModeAppend will append to existing log files between restarts. // This is the default option. FileModeAppend FileMode = "append" // FileModeTruncate will truncate onto existing log files in between // restarts. FileModeTruncate FileMode = "truncate" // FileModeRotate will enable log rotation for log files. FileModeRotate FileMode = "rotate" )
Click to show internal directories.
Click to hide internal directories.