# Functions
NewAsyncGraylogHook creates a hook to be added to an instance of logger.
NewGraylogHook creates a hook to be added to an instance of logger.
No description provided by the author
New returns a new GELF Writer.
# Constants
Used to control GELF chunking.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Set graylog.BufSize = <value> _before_ calling NewGraylogHook Once the buffer is full, logging will start blocking, waiting for slots to be available in the queue.
# Structs
GraylogHook to send logs to a logging service compatible with the Graylog API and the GELF format.
Message represents the contents of the GELF message.
No description provided by the author
Writer implements io.Writer and is used to send both discrete messages to a graylog2 server, or data from a stream-oriented interface (like the functions in log).
# Type aliases
What compression type the writer should use when sending messages to the graylog2 server.