Documentation ¶
Index ¶
Constants ¶
View Source
const LogFormatJSON = "json"
LogFormatJSON for format JSON
View Source
const LogFormatLTSV = "ltsv"
LogFormatLTSV for format LTSV
View Source
const LogTypeDumpLog = "dumpLog"
LogTypeDumpLog for dump.log
View Source
const LogTypeLog = "log"
LogTypeLog for tcpdp.log
Variables ¶
This section is empty.
Functions ¶
func NewHexLogger ¶ added in v0.2.0
NewHexLogger returns logger for hex
Types ¶
type RotateHandler ¶ added in v0.9.0
type RotateHandler struct {
// contains filtered or unexported fields
}
func NewRotateHandler ¶ added in v0.9.0
func NewRotateHandler(c string) *RotateHandler
func (*RotateHandler) Handle ¶ added in v0.9.0
func (r *RotateHandler) Handle(e rotatelogs.Event)
Click to show internal directories.
Click to hide internal directories.