}
@Override
public LoggableInput wrapInputStream(final LoggableInput originalInputWrapper,
final StreamListener streamListener) {
return new LoggableInput() {
@Override
public ByteBuffer readUpTo0x0D0A() throws IOException {
ByteBuffer bytes = originalInputWrapper.readUpTo0x0D0A();
String logString =
new String(bytes.array(), bytes.arrayOffset(), bytes.limit(), CHARSET) + "\r\n";