No, it isn't supported by log4net.
If you look at the code in PropertyPatternConverter
, you see it calls WriteObject
in the PatternConverter
class, which then just calls ToString
on the object stored in the property.
It wouldn't be easy to implement either, as you would have to have code to extract the property name, then use reflection to extract the value. As you can accomplish the same thing by just storing the object property's value in the LogicalThreadContext.Properties
, it isn't worthwhile.