Documentation ¶ Index ¶ func Capture(attrs map[string]interface{}, serverUri string, maxEventsPerSec int, ...) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Capture ¶ func Capture(attrs map[string]interface{}, serverUri string, maxEventsPerSec int, eventCh <-chan glog.Event) error Capture events and sends them to the gelf server. Events sent at a higher rate than maxEventsPerSec will be ignored. The uri must have a udp or tcp scheme. Types ¶ This section is empty. Source Files ¶ View all Source files gelf.go Click to show internal directories. Click to hide internal directories.