Jackson layouts accept the following two parameters:
String eol
boolean includeNullDelimiter
Their purpose is simple:
logEvent(event);
writer.write(eol);
if (includeNullDelimiter) {
writer.write('\0');
}
Isn't it possible to combine this into a single "String eol"? That is,
<eol>\r\n\0</eol>
Wouldn't this eliminate the need for the 2nd flag? I guess I cannot
see the big picture. Any ideas?
