Registry / logging / graylog2-go-gelf-v2

graylog2-go-gelf-v2

JSON →
library2.0.0-20191017102106-1550ee647df0gogounverified

Go-gelf implements the Graylog Extended Log Format (GELF) for sending log messages to Graylog servers.

go get gopkg.in/Graylog2/go-gelf.v2
INSTALL
IMPORT
SIG · GRAYLOG2-GO-GELF-V
G
graylog2-go-gelf-v2
logginggov2.0.0-20191017102106-1550ee647df0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gelf
gopkg.in/Graylog2/go-gelf.v2

Sends a GELF message to a Graylog server.

package main import ( "gopkg.in/Graylog2/go-gelf.v2" ) func main() { writer, err := gelf.NewWriter("localhost:12201") if err != nil { panic(err) } writer.WriteMessage(&gelf.Message{ Short: "Hello", Host: "localhost", }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0-20191017102106-1550ee647df0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Resources
graylog2-go-gelf-v2 — go get graylog2-go-gelf-v2 · libregistry