public class LogInspector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AERON_LOG_DATA_FORMAT |
static String |
AERON_LOG_DATA_FORMAT_PROP_NAME
Data format for fragments which can be ASCII or HEX.
|
static boolean |
AERON_LOG_SCAN_OVER_ZEROES |
static String |
AERON_LOG_SCAN_OVER_ZEROES_PROP_NAME
Should zeros be skipped in the output to reduce noise.
|
static boolean |
AERON_LOG_SKIP_DEFAULT_HEADER |
static String |
AERON_LOG_SKIP_DEFAULT_HEADER_PROP_NAME
Should the default header be skipped for output.
|
Constructor and Description |
---|
LogInspector() |
Modifier and Type | Method and Description |
---|---|
static char[] |
bytesToHex(DirectBuffer buffer,
int offset,
int length)
Format bytes to HEX for printing.
|
static char[] |
formatBytes(DirectBuffer buffer,
int offset,
int length)
Format bytes in a buffer to a char array.
|
static void |
main(String[] args)
Main method for launching the process.
|
public static final String AERON_LOG_DATA_FORMAT_PROP_NAME
public static final String AERON_LOG_DATA_FORMAT
public static final String AERON_LOG_SKIP_DEFAULT_HEADER_PROP_NAME
public static final boolean AERON_LOG_SKIP_DEFAULT_HEADER
public static final String AERON_LOG_SCAN_OVER_ZEROES_PROP_NAME
public static final boolean AERON_LOG_SCAN_OVER_ZEROES
public static void main(String[] args)
args
- passed to the process.public static char[] formatBytes(DirectBuffer buffer, int offset, int length)
buffer
- containing the bytes to be formatted.offset
- in the buffer at which the bytes begin.length
- of the bytes in the buffer.public static char[] bytesToHex(DirectBuffer buffer, int offset, int length)
buffer
- containing the bytes.offset
- in the buffer at which the bytes begin.length
- of the bytes in the buffer.Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.