Module: Gelfd

Defined in:
lib/gelfd.rb,
lib/gelfd/parser.rb,
lib/gelfd/version.rb,
lib/gelfd/exceptions.rb,
lib/gelfd/gzip_parser.rb,
lib/gelfd/zlib_parser.rb,
lib/gelfd/chunked_parser.rb

Defined Under Namespace

Classes: ChunkedParser, DecodeError, DuplicateChunkError, GzipParser, NotChunkedDataError, NotYetImplementedError, Parser, TooManyChunksError, UnknownHeaderError, ZlibParser

Constant Summary collapse

CHUNKED_MAGIC =
[0x1e,0x0f].pack('C*').freeze
ZLIB_MAGIC =
[0x78,0x9c].pack('C*').freeze
GZIP_MAGIC =
[0x1f,0x8b].pack('C*').freeze
HEADER_LENGTH =
12
DATA_LENGTH =
8192 - HEADER_LENGTH
MAX_CHUNKS =
128
VERSION =
"0.2.0"