Versions in this module Expand all Collapse all v2 v2.0.7 Feb 9, 2018 v2.0.6 Jun 1, 2017 Changes in this version type CompressType + const NoCompress v2.0.4 Feb 19, 2017 Changes in this version type GraylogHook + Level logrus.Level v2.0.3 Nov 30, 2016 Changes in this version + const StackTraceKey type GraylogHook + Host string v2.0.2 Sep 28, 2016 Changes in this version + type Reader struct + func NewReader(addr string) (*Reader, error) + func (r *Reader) Addr() string + func (r *Reader) Read(p []byte) (int, error) + func (r *Reader) ReadMessage() (*Message, error) v2.0.1 Aug 17, 2016 v2.0.0 Aug 8, 2016 Changes in this version + const ChunkSize + var BufSize uint = 8192 + type CompressType int + const CompressGzip + const CompressZlib + type GraylogHook struct + Extra map[string]interface{} + func NewAsyncGraylogHook(addr string, extra map[string]interface{}) *GraylogHook + func NewGraylogHook(addr string, extra map[string]interface{}) *GraylogHook + func (hook *GraylogHook) Blacklist(b []string) + func (hook *GraylogHook) Fire(entry *logrus.Entry) error + func (hook *GraylogHook) Flush() + func (hook *GraylogHook) Levels() []logrus.Level + func (hook *GraylogHook) SetWriter(w *Writer) error + func (hook *GraylogHook) Writer() *Writer + type Message struct + Extra map[string]interface{} + Facility string + File string + Full string + Host string + Level int32 + Line int + Short string + TimeUnix float64 + Version string + func (m *Message) MarshalJSON() ([]byte, error) + func (m *Message) UnmarshalJSON(data []byte) error + type Writer struct + CompressionLevel int + CompressionType CompressType + Facility string + func NewWriter(addr string) (*Writer, error) + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteMessage(m *Message) (err error) Other modules containing this package gopkg.in/gemnasium/logrus-graylog-hook.v1