public class LineLoggingBuffer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
protected static byte[] |
WRAP |
| Constructor and Description |
|---|
LineLoggingBuffer(String linePrefix)
Creates new buffer using given line prefix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(int b)
Appends and escapes value.
|
protected boolean |
isLineLengthExceeded() |
void |
logLine()
Triggers log output of current buffer (if any) and resets back to empty buffer.
|
public LineLoggingBuffer(String linePrefix)
linePrefix - prefix for each line printed, eg "S:" or "C:"Copyright © 2006–2022 Icegreen Technologies. All rights reserved.