Ralph is an API designer genius. :)
On 28 July 2014 16:22, Scott Harrington <scott...@sns-usa.com> wrote: > Just to follow up, > > There was no need for an enhancement request. I was able to implement my > own 'PackedLayout' and 'PackedLogEventBridge' that serialize my particular > LogEvents efficiently to/from byte array in exactly the way I wanted (by > making some assumptions not suitable for general-purpose use). > > Thanks for the advice and for the well-designed interfaces! > > Scott > > > > On Fri, 11 Jul 2014, Ralph Goers wrote: > > Sounds good. >> >> This approach allows for many different serialization formats. It might >> be nice to have the CompactBinaryLayout even be “pluggable” to support >> things like Hessian, Protobuf, Thrift, etc. Of course, that would also >> require the LogEventBridge to have support as well. >> >> Ralph >> >> On Jul 11, 2014, at 10:14 AM, Scott Harrington <scott...@sns-usa.com> >> wrote: >> >> OK! Agree. So the 2.1 enhancement request will be for a >>> CompactBinaryLayout on the sending side and corresponding LogEventBridge on >>> the receiving side. I'll open it in JIRA when I get back from vacation and >>> have a chance to work through an initial implementation, unless someone >>> else beats me to it. >>> >>> Current 'Serializable' form is a bit chatty but is easier (automatic) to >>> maintain. Forget I ever said anything about Externalizable. >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > -- Matt Sicker <boa...@gmail.com>