Kittyfisto/SharpRemote

Add serializer support for log4net.Core.Level

Closed this issue · 2 comments

SharpRemote already has a dependency on log4net so it shouldn't be a problem to support serialization of the log level "singletons".

This should be immediately available for BinarySerializer and also be added to BinarySerializer2 as well as XmlSerializer.

"Special" values which are defined as static fields in Value (such as Value.Debug, etc...) can be serialized.
All other Value objects constructed via new Level(int, string) or new Level(int, string, string) cannot. This will be supported when the rewritten serializer architecture is finished (or when someone really needs this feature right now, so let me know...)