Makes sense to me.

Ralph

> On Jan 17, 2020, at 6:11 AM, Volkan Yazıcı <[email protected]> wrote:
> 
> 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?
> 


Reply via email to