public class TestHelper extends Object
| Constructor and Description |
|---|
TestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
buildGELFMessageChunk(String idString,
int seqNum,
int seqCnt,
byte[] data) |
static byte[] |
gzipCompress(String what) |
static Message |
simpleLogMessage() |
static String |
toHex(String arg) |
static byte[] |
zlibCompress(String what) |
public static byte[] zlibCompress(String what)
public static byte[] gzipCompress(String what) throws IOException
IOExceptionpublic static byte[] buildGELFMessageChunk(String idString, int seqNum, int seqCnt, byte[] data) throws Exception
Exceptionpublic static Message simpleLogMessage()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.