On Fri, Jan 17, 2020 at 8:16 AM Ralph Goers <[email protected]>
wrote:

> Makes sense to me.
>

Not to me ;-)

The optional NULL is to end an event. An EOL is to end a line when you are
not using a compact format.

Gary

>
> 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