Documentation
¶
Index ¶
Constants ¶
View Source
const TimeFormat = "2006/01/02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Printer // contains filtered or unexported fields }
func NewHandler ¶
NewHandler returns a handler that prints the events to the supplied writer. Each event is printed in logfmt format on a single line.
Click to show internal directories.
Click to hide internal directories.