Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventLogger ¶
type EventLogger struct { // Destination to log output to. Out io.Writer // Channel on which to receive events to be logged. In chan *api.EventMessage // contains filtered or unexported fields }
func New ¶
func New(c chan *api.EventMessage, interval time.Duration) *EventLogger
func (*EventLogger) Log ¶
func (srv *EventLogger) Log()
Click to show internal directories.
Click to hide internal directories.