On 2011-10-21, Miha Vitorovic wrote:

> I was kind of hoping that XmlLayout has some "inverse" functions
> available as well.

Unfortunately it has not.

Note that unless you enable base64 encoding you may be losing some
information by serializing/deserializing stuff via XML as certain
characters that can occur inside your logging message may not be legal
XML characters and get replaced by a "?" (actually, a configurable
character) via XmlLayout.

Those characters are rare (everything outside of
[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD]) but it is something to keep in
mind.

Stefan

Reply via email to