Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULTLOGFILENAME = "cb-event-forwarder.log"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogFileHandler ¶
type LogFileHandler struct {
// contains filtered or unexported fields
}
func NewLogFileHandler ¶
func NewLogFileHandler(location string, level log.Level, maxSize, maxAge, maxBackups int) LogFileHandler
func (*LogFileHandler) InitializeLogging ¶
func (lh *LogFileHandler) InitializeLogging()
func (*LogFileHandler) Rotate ¶
func (lh *LogFileHandler) Rotate()
Click to show internal directories.
Click to hide internal directories.